Description Usage Arguments Details Value Author(s) See Also Examples

Form the variance matrix for a (generalized) factor whose effects for its different levels are independently and identically distributed, with their variance given by the variance component; elements of the matrix will equal either zero or sigma2 and displays compound symmetry.

1 |

`factor` |
The (generalized) |

`sigma2` |
The variance component, being the of the random effects for the factor. |

The method is: a) form the n x n summation or relationship matrix whose elements are equal to zero except for those elements whose corresponding elements in the following two n x n matrices are equal: 1) each row contains the numeric values corresponding to the observed levels of the factor, and 2) each column contains the numeric values corresponding to the observed levels of the factor, b) multiply the summation matrix by sigma2.

An n x n `matrix`

, where n is the length of the
`factor`

.

Chris Brien

`fac.ar1mat`

, `fac.meanop`

,
`fac.sumop`

in package dae.

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.