Nothing
pow <- function(effect) {
power.t.test(delta = effect, n = 50)$power
}
effect = seq(0, 2, by = 0.05)
gf_line(pow(effect) ~ effect) %>%
gf_labs(y = "power", x = "effect size",
title = "Power of a 2-sample test (n = 50)")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.