plot.c4c_base_result {care4cmodel} | R Documentation |
Plot Function for c4c_base_result Objects
Description
Plot Function for c4c_base_result Objects
Usage
## S3 method for class 'c4c_base_result'
plot(
x,
variable = c("area", "vol_standing", "vol_inc_ups", "vol_rmv_total", "vol_rmv_cont",
"vol_rmv_damage", "vol_mort", "hrvst_det_reg", "hrvst_det_dam"),
...
)
Arguments
x |
Object of class |
variable |
Character string, specifies the variable to be plotted. The options are:
|
... |
Other parameters, currently not used |
Value
A ggplot object
Examples
sim_base_out <- simulate_single_concept(
pine_thinning_from_above_1,
init_areas = c(1000, 0, 0, 0, 0, 0),
time_span = 200,
risk_level = 3
)
# Make a plot
plot(sim_base_out, variable = "area")
# Also try the following options for the parameter "variable":
# "vol_standing", "vol_inc_ups", "vol_rmv_total", "vol_rmv_cont",
# "vol_rmv_damage", "vol_mort", "hrvst_det_reg", "hrvst_det_dam"