Re: [R] LME correlation structures: user defined

From: Simon Blomberg <Simon.Blomberg_at_anu.edu.au>
Date: Wed 23 Mar 2005 - 10:56:46 EST

>Let me modify my question about user-defined covariance structures
>for LME models: Can somebody tell me how I can see the code for the
>definition of the correlation structures that come with the NLME
>package. Specifically I like to see the code for the functions coef,
>corMatrix, and intialize for any of the pre-defined correlation
>structures, and use this as a template to define a new correlation
>structure. So how do I see e.g. the code for the method initialize
>for the correlation structure corExp or corARMA?

I'm interested in this too. Go to CRAN and download the source code for the nlme package. ungzip and untar it. Got to the R subdirectory. Inside that is a file called corStruct.R with all the method definitions for the built-in corStruct classes. Reading those should help.

Cheers,

Simon.

>
>thank you in advance!
>
>Michael Jerosch-Herold
>
>PS: Oh, and if somebody could still send me example code for a user
>defined correlation structure I would much appreciate it, as my
>previous requests for help have not yielded any response.
>
>______________________________________________
>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

-- 
Simon Blomberg, B.Sc.(Hons.), Ph.D, M.App.Stat.
Visiting Fellow
School of Botany & Zoology
The Australian National University
Canberra ACT 0200
Australia

T: +61 2 6125 8057  email: Simon.Blomberg@anu.edu.au
F: +61 2 6125 5573

CRICOS Provider # 00120C

______________________________________________
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 Wed Mar 23 11:03:08 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:53 EST