library(dplyr, warn.conflicts = FALSE)
library(bench)
df <- tibble(x = rnorm(1e6), g = sample(rep(1:1e4, 100)), f = factor(sample(rep(1:1e4, 100))))
bench::mark(
group_by(df, x),
group_by(df, g),
group_by(df, f),
group_by(df, x, f),
group_by(df, f, x),
check = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.