View source: R/power analysis.R
prop_diff_detectable | R Documentation |
creates a table with sample size, effect size, proportion 2 and the minimum detectable change in proportion at the given levels in order to see how the values change and to plot
prop_diff_detectable(from, to, by, sig = 0.05, pwr = 0.8, prop1)
from |
the lowest n value to check |
to |
the highest n value to check |
by |
the interval between the lowest and highest n values t check (e.g. from n=100 to n=500 by 50 will return a table with 9 rows) |
sig |
the significance value to be used in the power analysis. the default for this is 0.05 |
pwr |
the expected statistical power for the power analysis. the default for this is 0.80 |
prop1 |
the stable proportion that can be estimated or expected |
prop_diff_detectable_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.