create_data_abtest | R Documentation |
Data that can be used for unit-testing or teaching
create_data_abtest(
n_a = 100,
n_b = 100,
success_a = 10,
success_b = 5,
success_unit = "count",
count = TRUE
)
n_a |
Total size of group A |
n_b |
Total size of group B |
success_a |
Success in group A |
success_b |
Success in group B |
success_unit |
Unit ("count"|"percent") |
count |
Create as count-data (FALSE|TRUE) |
A dataset as tibble
library(dplyr)
create_data_abtest() %>% abtest()
create_data_abtest(
n_a = 100,
n_b = 100,
success_a = 20,
success_b = 30,
success_unit = "count"
) %>% abtest()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.