ID | R Documentation |
Variance-covariance structure where the residuals are independent and identically distributed. Can be stratified on a categorical variable.
ID(formula, var.cluster, var.time, add.time)
formula |
formula indicating on which variable to stratify the residual variance (left hand side). |
var.cluster |
[character] cluster variable. |
var.time |
[character] time variable. |
add.time |
not used. |
A typical formula would be ~1
.
An object of class IND
that can be passed to the argument structure
of the lmm
function.
ID(NULL, var.cluster = "id", var.time = "time")
ID(~1, var.cluster = "id", var.time = "time")
ID(~gender, var.cluster = "id", var.time = "time")
ID(gender~1, var.cluster = "id", var.time = "time")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.