get_modcomp | R Documentation |
KRmodcomp
object.Extract (or "get") components from a KRmodcomp
object,
which is the result of the KRmodcomp
function.
getKR(
object,
name = c("ndf", "ddf", "Fstat", "p.value", "F.scaling", "FstatU", "p.valueU", "aux")
)
getSAT(object, name = c("ndf", "ddf", "Fstat", "p.value"))
object |
A |
name |
The available slots. If |
Søren Højsgaard sorenh@math.aau.dk
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., https://www.jstatsoft.org/v59/i09/
KRmodcomp
, PBmodcomp
,
vcovAdj
data(beets, package='pbkrtest')
lg <- lmer(sugpct ~ block + sow + harvest + (1|block:harvest),
data=beets, REML=FALSE)
sm <- update(lg, .~. - harvest)
modcomp <- KRmodcomp(lg, sm)
getKR(modcomp, "ddf") # get denominator degrees of freedom.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.