Pwr.lme: Performs power calculations

Description Usage Arguments Value Author(s) See Also

Description

This is method for Pwr() generic function. It works fine for an example given in the book. It may require additional testing, especially for post-hoc power analysis

Usage

1
2
3
4
5
  ## S3 method for class 'lme'
 Pwr(object, ...,
    type = c("sequential", "marginal"), Terms, L,
    verbose = FALSE, sigma, ddf = numeric(0), alpha = 0.05,
    altB = NULL, tol = 1e-10)

Arguments

object

an object containing lme fit, which provides information needed for power calculations

...

some additional arguments may be required.

type

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 nlme package.

Terms

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 nlme package for details.

L

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 nlme package for details.

verbose

an optional logical value. See anova.lme in nlme package for details.

sigma

numeric scalar value.

ddf

numeric scalar value. Argument can be used to redefine default number of denominator degrees of freedom

alpha

numeric scalar value. By default 0.05.

altB

matrix/vector containing alternative values for beta parameters

tol

numeric scalar value.

Value

a data frame inheriting from class Pwr.lme

Author(s)

Andrzej Galecki and Tomasz Burzykowski

See Also

anova.lme


nlmeU documentation built on May 2, 2019, 3:38 p.m.