We are trying to use the corCompSymm function in nlme

The example from the help pages for the corAR1 function gives the following

> corAR1(0.2, form = ~ 1 | Mare)
Correlation structure of class corAR1 representing
Phi
0.2

We are expecting a somewhat similar correlation specification with the help page
example for corCompSymm, but just get an error instead

> corCompSymm(0.5, form = ~ 1 | Subject)
Error in "names<-.default"(`*tmp*`, value = "Rho") :
        names attribute [1] must be the same length as the vector [0]

this error is concistent in R1.8 and R2.0 on windows XP and also R2.0.1 on
Redhat

Thanks in advance for any help
Dave and Jerome

----------------------------------------------------------------
Concerns about content should be sent to [EMAIL PROTECTED]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to