Re: [R] Problem with GroupedData

2009-07-14 Thread Kingsford Jones
Hi Fir, Are you sure data2 is a data frame? The error message suggests it isn't. Try class(data2) or str(data2) if you're not sure. On another note -- perhaps it's better to avoid using groupedData. I've used the nlme library for years without ever using the grouped structure. My opinion is th

Re: [R] Problem with groupedData and lme

2009-07-03 Thread Dieter Menne
MUHC-Research wrote: > > > I'm currently having trouble with the implementation of a groupedData > object in the lme() function. > > Executing the following function >> applyScalingSimp <- function(input.population) >> { >> ## GA is a time value >> varInOrder <- c("GA","weigh