powered by
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)
An object of class IND that can be passed to the argument structure of the lmm function.
IND
structure
lmm
formula indicating on which variable to stratify the residual variance (left hand side).
[character] cluster variable.
[character] time variable.
not used.
A typical formula would be ~1.
~1
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")
Run the code above in your browser using DataLab