Validates input for power calcuation function
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,
power.min = alpha,
power.max = 0.999,
effect.min = NULL,
effect.max = NULL,
steps = 50,
linewidth = 1
)
type of power analyses, one of "a-priori", post-hoc", "compromise", "powerplot.byN", "powerplot.byEffect"
effect size specifying the discrepancy between H0 and H1
type of effect, one of "F0, "RMSEA", "Mc", "GFI", AGFI"
alpha error
beta error
power (1-beta)
ratio alpha/beta
the number of observations
the model degrees of freedom
the number of observed variables, required for effect.measure = "GFI" and "AGFI"
model implied covariance matrix
population covariance matrix
for plotting: minimum power
for plotting: maximum power
for plotting: minimum effect
for plotting: maximum effect
for plotting: number of sampled points
for plotting: linewidth