Re: [R] Variance functions in package nlme

From: Nordlund, Dan (DSHS) <NordlDJ_at_dshs.wa.gov>
Date: Tue 18 Jul 2006 - 03:24:36 EST


> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch [mailto:r-help-
> bounces@stat.math.ethz.ch] On Behalf Of Thilo Kellermann
> Sent: Monday, July 17, 2006 9:57 AM
> To: R-help@stat.math.ethz.ch
> Subject: [R] Variance functions in package nlme
>
> Dear R-help,
>
> I am trying to set up linear mixed effects models in R using the
> (recommended)
> nlme package (R version 2.3.1 on a Linux platform). When trying to
> reproduce
> an example from Jose Pinheiro & Douglas Bates (2000, p 210) I get the
> following error message (code to produce message pasted as well):
>
> library("nlme")
> data("Orthodont")
> vf1Ident <- varIdent( c(Female = 0.5), form = ~ 1 | Sex )
> vf1Ident <- initialize(vf1Ident, Orthodont)
> Error in getClass(Class) : c("\"varIdent\" is not a defined class",
> "\"varFunc\" is not a defined class")
> In addition: Warning message:
> the condition has length > 1 and only the first element will be used in:
> if
> (!is.na(match(Class, .BasicClasses))) return(newBasic(Class,
>
> Can anybody give me a hint, what's going wrong here?
> Thanks a lot,
>
> Thilo

I believe the function initialize() has been renamed Initialize() in R.

Hope this helps,

Dan

Daniel J. Nordlund
Research and Data Analysis
Washington State Department of Social and Health Services Olympia, WA 98504-5204



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 18 04:36:04 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 18 Jul 2006 - 06:16:24 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.