plot.metaRangeEnvironment | R Documentation |
Plots the specified current environment of a metaRangeSimulation object.
## S3 method for class 'metaRangeEnvironment'
plot(x, env_name, col, as_timeseries = FALSE, main = NULL, ...)
x |
|
env_name |
|
col |
|
as_timeseries |
|
main |
|
... |
additional arguments passed to terra::plot or base::plot. |
<invisible NULL>
.
sim_env <- terra::sds(terra::rast(vals = rep(1:4, 4), nrow = 2, ncol = 2, nlyr = 4))
names(sim_env) <- "env_01"
test_sim <- metaRangeSimulation$new(source_environment = sim_env)
test_sim$environment$set_current(1)
plot(test_sim$environment, "env_01")
plot(test_sim$environment, "env_01", as_timeseries = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.