run.sensitivity.analysis.Rd
Runs the sensitivity analysis module on a finished run
run.sensitivity.analysis(
settings,
plot = TRUE,
ensemble.id = NULL,
variable = NULL,
start.year = NULL,
end.year = NULL,
pfts = NULL,
...
)
a PEcAn settings object
logical. Option to generate sensitivity analysis and variance decomposition plots (plot=TRUE) or to turn these plots off (plot=FALSE).
ensemble ID
which varibable(s) to do sensitivity analysis for. Defaults to all specified in `settings`
defaults to what is specified in `settings`
defaults to what is specified in `settings`
a vector of PFT names found in `settings` to run sensitivity analysis on
currently unused
nothing, saves sensitivity.results
as
sensitivity.results.Rdata, sensitivity plots as sensitivityanalysis.pdf,
and variance decomposition 'popsicle plot' as variancedecomposition.pdf a
side effect (OPTIONAL)
if (FALSE) { # \dontrun{
library(PEcAn.settings)
library(PEcAn.uncertainty)
settings <- read.settings("path/to/pecan.xml")
run.sensitivity.analysis(settings)
} # }