set.seed(42)
x = mean(rand_walk(0,30, 500), rand_walk(0,30, 500),rand_walk(0,30, 500),rand_walk(0,30, 500), rand_walk(0,30, 500),
rand_walk(0,30, 500))
test_that("mean of stochastic", {
expect_true(x<4.2 & x>-4.2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.