# \donttest{
#Load example data and species parameters
data(examplemeteo)
data(exampleforestMED)
data(SpParamsMED)
#Initialize input
examplesoil <- soil(defaultSoilParams(2))
control <- defaultControl("Granier")
x <- forest2spwbInput(exampleforestMED,examplesoil, SpParamsMED, control)
#Perform sensitivity analysis
res <- spwb_sensitivity(x, examplesoil, examplemeteo, latitude = 41, elevation = 100)
# }
Run the code above in your browser using DataLab