library(dplyr)
mt <- mtcars %>%
as_tibble() %>%
filter(cyl < 8) %>%
select(mpg, cyl, am) %>%
arrange(cyl, am) %>%
slice(1, 2, 5, 12, 17, 18) %>%
group_by(cyl, am)
mt %>%
summarize(mean(mpg))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.