This is a method for the Pwr generic function. It works for the
example given in Galecki and Burzykowski (2013) but may require additional testing,
especially for post-hoc power analysis.
an lme object containing a model fit, which provides information needed for power calculations.
some additional arguments may be required.
an optional character string specifying the type of sum of squares to be used in F-tests
needed for power calculations. Syntax is the same as for anova.lme in the nlme package.
an optional integer or character vector specifying which terms
in the model should be jointly tested to be zero using a Wald F-test. See
anova.lme in the nlme package for details.
an optional numeric vector or array specifying linear combinations
of the coefficients in the model that should be tested to be zero. See
anova.lme in the nlme package for details.
logical. If TRUE, additional information is provided. See anova.lme in the nlme package for details.
numeric scalar value. Redefines the default number of denominator degrees of freedom.
numeric scalar value. By default, 0.05.
matrix or vector containing alternative values for beta parameters.
numeric scalar value for numerical tolerance.
A data frame inheriting from class Pwr.lme.
Galecki, A., & Burzykowski, T. (2013). *Linear Mixed-Effects Models: A Step-by-Step Approach*. Springer.