[R] User defined covariate structure.

From: <jswansmi_at_uoguelph.ca>
Date: Tue 25 Jul 2006 - 05:43:04 EST

I am trying to use nlme but instead of using one of the “identity” variance or covariance matrixes such as compsymm or ar1. Instead I want the covariance matrix to be represented in the following manor. Is it possible to define my own covariance matrix?
I have search and found papers saying I can define my own covariance matrixes and own correlation structures. Said use corstruct but not sure how to implement it. Also found documentation to use re.structur. If able to help me out it be greatly appreciated as I am stuck.

|1 p1g p2g p3g p4g …|
|p1g 1 p1g p2g p3g …|
|p2g p1g 1 p1g p2g …|
|p3g p2g p1g 1 p1g …|
|: : : : : …|

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 and provide commented, minimal, self-contained, reproducible code. Received on Tue Jul 25 17:51:05 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 31 Jul 2006 - 02:16:40 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.