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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.