Skip to content
Prev 77218 / 398502 Next

Can I use "lme" to deal with grouping data when I only get one data point per group?

Ruixiao Lu <tinypenguin <at> gmail.com> writes:
((Slightly modified by DM))

fac=as.factor(c(1:6))
y=c(-0.3465181, -0.2019839, -0.7610653, -0.1992943, -0.1663348, 0.2811794)
data.y=data.frame(y,fac)
y.g=groupedData(y~1|fac)
intervals(y.g) ## and you will see ....

Similar example on page 27 of Pinheiro/Bates

Dieter Menne