View source: R/print.sim_results.R
print.sim_results | R Documentation |
sim_results
ObjectPrint sim_results
Object
## S3 method for class 'sim_results'
print(x, ...)
x |
|
... |
further arguments passed to or from other methods; none specified |
sim_results
object is invisibly returned (the x
param)
library(terra)
n1_small <- rast(system.file("input_maps/n1_small.tif", package = "rangr"))
K_small <- rast(system.file("input_maps/K_small.tif", package = "rangr"))
sim_data <- initialise(
n1_map = n1_small,
K_map = K_small,
r = log(2),
rate = 1 / 1e3
)
sim_res <- sim(obj = sim_data, time = 20, burn = 5)
print(sim_res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.