[R] lme: extract result-function
Dieter Menne
dieter.menne at menne-biomed.de
Wed Jun 13 10:37:31 CEST 2012
Christof Kluß wrote
>
> mod <- lme(A ~ -1 + B+C+D+E+F+G, random = ~1 | ...)
> ...
> f <- function(B,C,D,E,F,G) <- {
> return(i + b*B + c*C + d*D + e*E + f*F + g*G)
> }
>
It looks like you are trying to compute contrasts the ugly way. Check
estimable in package gmodels or the vignette of the multcomp package; in the
latter, the usage example of lme is a bit hidden, but it works nevertheless.
Dieter
--
View this message in context: http://r.789695.n4.nabble.com/lme-extract-result-function-tp4633220p4633222.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list