powered by
show a plot showing power as function of N for a given effect and alpha
semPower.powerPlot.byEffect(effect.measure = NULL, alpha, N, df, p = NULL, effect.min = NULL, effect.max = NULL, steps = 50, linewidth = 1)
type of effect, one of "F0", "RMSEA", "Mc", "GFI", AGFI"
alpha error
the number of observations
the model degrees of freedom
the number of observed variables, required for effect.measure = "GFI" and "AGFI"
minimum effect
maximum effect
number of steps
linewidth
powerplot
# NOT RUN { semPower.powerPlot.byEffect(effect.measure = "RMSEA", alpha = .05, N = 500, effect.min = .01, effect.max = .15, df = 200) # }
Run the code above in your browser using DataLab