semPower.powerPlot.byEffect: semPower.powerPlot.byEffect

View source: R/plots.R

semPower.powerPlot.byEffectR Documentation

semPower.powerPlot.byEffect

Description

Shows a plot showing power as function of the effect for a given N and alpha.

Usage

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 effect.measure = "AGFI"

effect.min

minimum effect

effect.max

maximum effect

steps

number of steps

linewidth

linewidth

Value

powerplot

Examples

## 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 Sept. 30, 2024, 9:24 a.m.