View source: R/parameter_scan.R
plot_parameter_scan | R Documentation |
Visualize the results of a parameter scan and allow interactive inspection of model performance in parameter space.
plot_parameter_scan(analyzed, variable = "dBM", interactive = TRUE)
analyzed |
List; Output of |
variable |
Str; Name of variable in analyzed to visualize. Can
be changed later with |
interactive |
boolean; Toggle between just creating a static plot
( |
Under the hood this function just creates a PscanPlotter object and calls its
analyze
method.
A PscanPlotter object.
analyze_parameter_scan()
, PscanPlotter$analyze()
# There needs to be data available with which the modle is to be compared.
# For this example, use data provided by the package.
path = system.file("extdata", package = "growR")
datafile = file.path(path, "posieux1.csv")
# Analyze example output of `run_parameter_scan()`.
results = analyze_parameter_scan(parameter_scan_example, datafile = datafile)
# The following plots the results.
psp = plot_parameter_scan(results, interactive = FALSE)
# The interactive session can still be entered later from the returned
# PscanPlotter object
psp$analyze()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.