Skip to contents

ee_to_dataframe takes the morris output and transforms the 4-dimensional elemental effects array into a more useful tibble

Usage

ee_to_dataframe(p, situation, cycle_length)

Arguments

p

is the output of the aquacrop_morris function

situation

are the situations listed in the aquacrop_morris() function

cycle_length

is the cycle_length parameter in the aquacrop_morris() function

Value

a tibble with 6 variables: traject, par, DAP, outvar, ee and Scenario

Details

The resulting tibble has 6 variables:

  • traject: refers to the trajectory number in the Morris design

  • par: the parameters that for which the sensitivity is evaluated

  • DAP: the Days After Planting of the simulation as we save a time series

  • outvar: the output variables for which the sensitivity is evaluated

  • ee: the elemental effects as output from the aquacrop_morris() function. These elemental effects are scaled for the parameter range (see sensitivity::morris()).

  • Scenario: the scenarios for which the simulation was done