Learn R Programming

semPower (version 1.2.0)

semPower.powerPlot.byEffect: sempower.powerPlot.byEffect

Description

show a plot showing power as function of N for a given effect and alpha

Usage

semPower.powerPlot.byEffect(
  effect.measure = NULL,
  alpha,
  N,
  df,
  p = NULL,
  effect.min = NULL,
  effect.max = NULL,
  steps = 50,
  linewidth = 1
)

Value

powerplot

Arguments

effect.measure

type of effect, one of "F0", "RMSEA", "Mc", "GFI", AGFI"

alpha

alpha error

N

the number of observations

df

the model degrees of freedom

p

the number of observed variables, required for effect.measure = "GFI" and "AGFI"

effect.min

minimum effect

effect.max

maximum effect

steps

number of steps

linewidth

linewidth

Examples

Run this code
if (FALSE) {
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