semPower.powerPlot: semPower.powerPlot

View source: R/plots.R

semPower.powerPlotR Documentation

semPower.powerPlot

Description

Shows a plot showing power as function of N given the output of a power analysis.

Usage

semPower.powerPlot(semPowerRes, ...)

Arguments

semPowerRes

results of a semPower analysis

...

other parameters passed to semPower.powerPlot.byN()

Value

powerplot

Examples

## Not run: 
# perform a power analysis
powerCFA <- semPower.powerCFA(type = 'post-hoc', alpha = .05, N = 300,
                              Phi = .15, nIndicator = c(5, 4), loadM = c(.5, .6))
# show plot
semPower.powerPlot(powerCFA)

## End(Not run)

semPower documentation built on Sept. 30, 2024, 9:24 a.m.