getkr: Extract (or "get") components from a 'KRmodcomp' object.

Description Usage Arguments Author(s) References See Also Examples

Description

Extract (or "get") components from a KRmodcomp object, which is the result of the KRmodcomp function.

Usage

1
2
getKR(object, name = c("ndf", "ddf", "Fstat", "p.value", "F.scaling",
  "FstatU", "p.valueU", "aux"))

Arguments

object

A KRmodcomp object, which is the result of the KRmodcomp function

name

The available slots. If name is missing or NULL then everything is returned.

Author(s)

Søren Højsgaard [email protected]

References

Ulrich Halekoh, Søren Højsgaard (2014)., A Kenward-Roger Approximation and Parametric Bootstrap Methods for Tests in Linear Mixed Models - The R Package pbkrtest., Journal of Statistical Software, 58(10), 1-30., http://www.jstatsoft.org/v59/i09/

See Also

KRmodcomp, PBmodcomp, vcovAdj

Examples

1
2
3
4
5
6
data(beets, package='pbkrtest')
lg <- lmer(sugpct ~ block + sow + harvest + (1|block:harvest), 
              data=beets, REML=FALSE)
sm <- update(lg, .~. - harvest)
xx <- KRmodcomp(lg, sm)
getKR(xx, "ddf") # get denominator degrees of freedom.

hojsgaard/pbkrtest documentation built on May 31, 2018, 9:12 a.m.