plot_worms_grid | R Documentation |
Make a Kobe "worm" timeseries plot with uncertainty
plot_worms_grid(
object_list,
prob = 0.5,
include_historical = TRUE,
french = isTRUE(getOption("french"))
)
object_list |
A named list of MSE objects from DLMtool. Names become scenario names. |
prob |
Tail probability for the quantiles. E.g., 0.5 refers to an interquartile range. |
include_historical |
Logical: include the historical time? |
french |
French? |
Note that if you receive an error such as
Error: vector memory exhausted (limit reached?)
,
consider starting a fresh R session of removing
any large objects from memory. Also,
try adding R_MAX_VSIZE=64Gb
(or pick some reasonable large value)
to your .Renviron file. usethis::edit_r_environ()
A ggplot object
x <- list()
x[[1]] <- mse_example
x[[2]] <- mse_example
names(x) <- c("Scenario 1", "Scenario 2")
plot_worms_grid(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.