| solve_n | R Documentation |
n at specific power value.Solve for the sample size (n) for
a specified power value. This function
effectively inverts the power curve and
efficiently returns the sample size
for a given power.
solve_n(x, pwr)
x |
A "power_curve" object. See |
pwr |
|
tbl <- fisher_power_curve(seq(50, 400, 25))
solve_n(tbl, 0.85)
solve_n(tbl, 0.75)
solve_n(tbl, 0.55)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.