[R-sig-ME] equivalent of lme4::rePCA() for lme models

Simon Harmel @|m@h@rme| @end|ng |rom gm@||@com
Tue Feb 2 04:55:06 CET 2021


Dear All,

I was wondering if there is any `lme4::rePCA()` equivalent for
`nlme::lme()` models (a reproducible example is below)?

--Thanks, Simon

library(nlme)

dat <- read.csv('https://raw.githubusercontent.com/hkil/m/master/mv.l.csv')

m22 <- lme(value ~0 + name, random = ~0 + name| Student, data = dat,
          correlation = corSymm(), weights = varIdent(form = ~1|name))

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list