maybe the help of one of the corrStruct classes is of interest to you:
?corCompSymm
?corSymm
?corAR1
?corCar1
?corARMA
?corExp
?corGaus
?corLin
?corRatio
?corSphere
Good luck,
Thilo
On Wednesday 26 July 2006 17:34, Jonathan Smith wrote:
> I am trying to implement my own covariance matrix into R.
I am trying to implement my own covariance matrix into R.Then be able to
use it in gls or lme or nlme to analyze some data. I simply want to use
corr=mymodel(form ~tim/peep) same as can use corr= corAR1 and many others.
Having a terrible time trying to figure out how to do this. I have