test_that("minimal example use", {
set.seed(
1,
kind = "Mersenne-Twister",
normal.kind = "Inversion",
sample.kind = "Rejection"
)
mainland <- sim_mainland(
total_time = 1,
m = 2,
mainland_ex = 1
)
plot_mainland(mainland)
})
test_that("interesting example", {
set.seed(
4,
kind = "Mersenne-Twister",
normal.kind = "Inversion",
sample.kind = "Rejection"
)
mainland <- sim_mainland(
total_time = 1,
m = 4,
mainland_ex = 1
)
plot_mainland(mainland)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.