library(tidyverse) library(multiverse)
This document is used for testing interactive Rmd output manually in RStudio.
M_block = multiverse()
the following should create three different plots
```{multiverse plots, inside = M_block} set.seed(branch(seed, .options = 1:3))
x <- rnorm(100)
hist(x)
## plots, errors and messages ```{multiverse plots-errors-messages, inside = M_block} x = list() data.frame(x = 1:10) %>% ggplot(aes(x = x, y = x)) + geom_point() hist(1:10) print("hello")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.