[R-sig-ME] corSymm, nlme issue

Afshartous, David DAfshartous at med.miami.edu
Wed Aug 19 20:29:54 CEST 2009


In the course of investigating yesterday's post by Fabian Mollet ([R-sig-ME]
weighting nlme and multivariate outcomes), I've noticed an issue with
corSymm. I am getting the error message below even for identical commands
used from Pinheiro & Bates (p.235).  Perhaps there was a discussion on this
previously but I didn't see anything in the archives.


> sessionInfo()
R version 2.9.1 (2009-06-26)


attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
> library("nlme")
> cs1Symm = corSymm(value = c(.2, .1, -.1, 0, .2, 0), form = ~ 1 | Subject)
> cs1Symm = initialize(cs1Symm, data = Orthodont)
Error in getClass(Class) :
  c("\"corSymm\" is not a defined class", "\"corStruct\" is not a defined
In addition: Warning message:
In if (!is.na(match(Class, .BasicClasses))) return(newBasic(Class,  :
  the condition has length > 1 and only the first element will be used

More information about the R-sig-mixed-models mailing list