validateInput | R Documentation |
Validates input for power functions.
validateInput(
power.type = NULL,
effect = NULL,
effect.measure = NULL,
alpha = NULL,
beta = NULL,
power = NULL,
abratio = NULL,
N = NULL,
df = NULL,
p = NULL,
SigmaHat = NULL,
Sigma = NULL,
muHat = NULL,
mu = NULL,
fittingFunction = "ML",
simulatedPower = FALSE,
modelH0 = NULL,
power.min = alpha,
power.max = 0.999,
effect.min = NULL,
effect.max = NULL,
steps = 50,
linewidth = 1
)
power.type |
type of power analyses, one of |
effect |
effect size specifying the discrepancy between H0 and H1 |
effect.measure |
type of effect, one of |
alpha |
alpha error |
beta |
beta error |
power |
power (= 1 - beta) |
abratio |
ratio alpha/beta |
N |
the number of observations |
df |
the model degrees of freedom |
p |
the number of observed variables, required for |
SigmaHat |
model implied covariance matrix |
Sigma |
observed (or population) covariance matrix |
muHat |
model implied mean vector |
mu |
observed (or population) mean vector |
fittingFunction |
whether to use |
simulatedPower |
whether to perform a simulated ( |
modelH0 |
for simulated power: |
power.min |
for plotting: minimum power |
power.max |
for plotting: maximum power |
effect.min |
for plotting: minimum effect |
effect.max |
for plotting: maximum effect |
steps |
for plotting: number of sampled points |
linewidth |
for plotting: linewidth |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.