semPower.powerPlot.byEffect: sempower.powerPlot.byEffect

Description Usage Arguments Value Examples

View source: R/plots.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
semPower.powerPlot.byEffect(
  effect.measure = NULL,
  alpha,
  N,
  df,
  p = NULL,
  effect.min = NULL,
  effect.max = NULL,
  steps = 50,
  linewidth = 1
)

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

Value

powerplot

Examples

1
2
3
4
5
## Not run: 
semPower.powerPlot.byEffect(effect.measure = "RMSEA", alpha = .05, 
                            N = 500, effect.min = .01, effect.max = .15, df = 200)

## End(Not run)

semPower documentation built on Nov. 2, 2021, 1:06 a.m.