Pwr: Calculates power based on a model fit

View source: R/Pwr.R

PwrR Documentation

Calculates power based on a model fit

Description

This function is generic; method functions can be written to handle specific classes of objects.

Usage

Pwr(object, ...)

Arguments

object

an object containing the results returned by a model fitting function (e.g., lme).

...

some methods for this generic function may require additional arguments.

Value

Numeric scalar value.

Author(s)

Andrzej Galecki and Tomasz Burzykowski

References

Galecki, A., & Burzykowski, T. (2013). *Linear Mixed-Effects Models: A Step-by-Step Approach*. Springer.

See Also

Pwr.lme

Examples

## Not run: 
  library(nlme)
  fm1 <- lme(distance ~ age, data = Orthodont)
  Pwr(fm1)

## End(Not run)

nlmeU documentation built on Aug. 25, 2025, 5:12 p.m.