help.search("groupedData") says that it's part of the lme4 package, but it appears not to be there (details below). Is this because lme4 is new and (perhaps) still under development?> update.packages()trying URL `http://cran.r-project.org/bin/windows/contrib/1.9/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 19113 bytes opened URL downloaded 18Kb> library("lme4") > groupedDataError: Object "groupedData" not found> version_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 1 minor 9.1 year 2004 month 06 day 21 language R Jake Wegelin
Jacob Wegelin wrote:> help.search("groupedData") says that it's part of the lme4 package, but it > appears not to be there (details below). Is this because lme4 is new and > (perhaps) still under development? > > >>update.packages() > > trying URL `http://cran.r-project.org/bin/windows/contrib/1.9/PACKAGES' > Content type `text/plain; charset=iso-8859-1' length 19113 bytes > opened URL > downloaded 18Kb > > >>library("lme4") >>groupedData > > Error: Object "groupedData" not found > >>version > > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major 1 > minor 9.1 > year 2004 > month 06 > day 21 > language R > > Jake Wegelin >You've missed the namespace discussion. Try: lme4:::groupedData Read the following article to catch up http://cran.r-project.org/doc/Rnews/Rnews_2003-1.pdf --sundar
On Friday 23 July 2004 16:28, Jacob Wegelin wrote:> help.search("groupedData") says that it's part of the lme4 package, > but it appears not to be there (details below). Is this because lme4 > is new and (perhaps) still under development?Yes, sort of. The groupedData class in nlme inherits from "data.frame". Since "data.frame" is not an S4 class, this is difficult to emulate, and we are still experimenting on how to represent grouping information. The groupedData class in lme4 is one attempt, but the current plans are to scrap it and just have the grouping information as attributes on a data frame. It so happens that the current groupedData function is not exported, which is why you can't see it. That's an oversight on my part, but since it will probably go away anyway, this is a good thing. Deepayan