plot_parameter_scan {growR} | R Documentation |
Plot Parameter Scan Results
Description
Visualize the results of a parameter scan and allow interactive inspection of model performance in parameter space.
Usage
plot_parameter_scan(analyzed, variable = "dBM", interactive = TRUE)
Arguments
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
( |
Details
Under the hood this function just creates a PscanPlotter object and calls its
analyze
method.
Value
A PscanPlotter object.
See Also
analyze_parameter_scan()
, PscanPlotter$analyze()
Examples
# 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()
[Package growR version 1.3.0 Index]