if (FALSE) {
#Load example daily meteorological data
data(examplemeteo)
# Load example plot plant data
data(exampleforestMED)
# Load default species parameters
data(SpParamsMED)
# Initialize soil with default soil params
examplesoil = soil(defaultSoilParams(4))
# Initialize control parameters for 'Sperry' transpiration mode
control = defaultControl(transpirationMode="Sperry")
# Initialize input
x2 = forest2spwbInput(exampleforestMED,examplesoil, SpParamsMED, control)
# Estimate maximum transpiration ratio models for each cohort
m = transp_maximumTranspirationModel(x2, examplemeteo,
41.82592, elevation = 100,
slope = 0, aspect = 0)
# Inspect the model for first cohort
m[[1]]
}
Run the code above in your browser using DataLab