[R] groupedData function not found

jim holtman jholtman at gmail.com
Fri Dec 28 02:27:15 CET 2007

have you done:


in your script?

On Dec 27, 2007 5:42 PM, andrea previtali <aprevitali at hotmail.com> wrote:
> Hello,
> I'm trying to use the groupedData function and R is giving me the message: Error: can not find function "groupedData"
> The code is coming from a textbook so I think it should be correct:
> pigs<-data.frame(cbind(pig.time,pig.id,pig.wt))
> pig.growth<-groupedData(pig.wt~pig.time|pig.id,data=pigs)
> I have added the package "nlme" and to confirm that it was installed correctly I requested the list of functions included in the package (library(help=nlme)) and I do see groupData in the list.
> I am using R 2.6.1 in Windows XP.
> I'll appreciate your help.
> Thanks,
> Andrea Previtali
> Post-doc fellow
> Dept. of Biology,
> Univ. of Utah, SLC, UT.
> ______________________________________________
> R-help at 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.

Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

More information about the R-help mailing list