r - How to suppress correlation table in LME? -
in standard example of lme() function in nlme package of r:
fm2 <- lme(distance ~ age + sex, data = orthodont, random = ~ 1) summary(fm2)
there appears correlation table:
correlation: (intr) age age -0.813 sexfemale -0.372 0.000
which can huge if there many factor combinations involved.
is there way suppress output in summary command? know can use
print(fm2, cor=f)
but not show me rest of usual output example no p-value calculation.
looking @ nlme:::print.summary.lme
don't see way suppress correlation matrix printing (although create hacked version of function removing if
clause beginning if (nrow(x$ttable)>1)
...)
perhaps useful able print just summary of fixed-effect parameters ... ?
printcoefmat(summary(fm2)$ttable)
Comments
Post a Comment