View source: R/randcov_initial.R
randcov_initial | R Documentation |
Create a random effects (co)variance parameter initial object that specifies initial and/or known values to use while estimating random effect variances with modeling functions.
randcov_initial(..., known)
... |
Arguments to |
known |
A character vector indicating which random effect variances are to be
assumed known. The value |
A random effect is specified as Zu
, where Z
is the random
effects design matrix and u
is the random effect. The covariance of
Zu
is \sigma 2 ZZ^T
, where \sigma 2
is the random effect
variance, and Z^T
is the transpose of Z
.
A list with two elements: initial
and is_known
.
initial
is a named numeric vector indicating the random effect variances
with specified initial and/or known values. is_known
is a named
logical vector indicating whether the random effect variances in
initial
are known or not.
randcov_initial(group = 1)
randcov_initial(group = 1, known = "group")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.