# NOT RUN {
# Load spatial points forest object
data("exampleSPL")
#Load meteorological data (the same will be used for all points)
data("examplemeteo")
#Load species parameters
data("SpParamsMED")
# Deactivate extra console output
control = defaultControl()
control$verbose = FALSE
# Run simulation for the first two forest plots
# (you can run the code without subsetting 'exampleSPL')
res <- spwbpoints(exampleSPL, SpParamsMED, examplemeteo, control = control)
#Extract summaries for a given forest plot
summary(res$result$`80001`, freq="months",FUN=sum,
output="PlantStress", bySpecies = TRUE)
# }
Run the code above in your browser using DataLab