Skip to content
Back to formatted view

Raw Message

Message-ID: <CACgv6yUcNWq2Ej9Kq2Z8WEPQ2JqgdYBndQ7wgBpnEy0m3+bhTw@mail.gmail.com>
Date: 2021-02-02T03:55:06Z
From: Simon Harmel
Subject: equivalent of lme4::rePCA() for lme models

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]]