Skip to content
Prev 6512 / 20628 Next

specification of corAR1()

Sorry to bother the list, I figured out where the problem is, I should specify the argument name "form=" in the corAR1():
----- Original Message -----
From: array chip <arrayprofile at yahoo.com>
To: "r-sig-mixed-models at r-project.org" <r-sig-mixed-models at r-project.org>
Cc: 
Sent: Wednesday, August 10, 2011 10:07 AM
Subject: [R-sig-ME] specification of corAR1()

Hi all, I am struggling to learn to use corAR1() correlation structure. Let me use the Machines data set from nlme package as an example:

I added a time variable to create a new dataset:
This one runs without any problem:
But all of the following generated the same error message:
"Error in abs(value) : Non-numeric argument to mathematical function"

Did I misunderstand something here?

Thanks very much!

John

_______________________________________________
R-sig-mixed-models at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models