ID: identity Structure

Description Usage Arguments Details Value Examples

View source: R/structure.R

Description

Variance-covariance structure where the residuals are independent and identically distribution.

Usage

1
ID(formula, var.cluster, var.time, ...)

Arguments

formula

formula indicating the time and cluster variables.

var.cluster

[character] used to check the cluster variable in the formula.

var.time

[character] name of the time variable.

...

not used.

Details

A typical formula would be either ~1.

Value

An object of class IND that can be passed to the argument structure of the lmm function.

Examples

1
2
3
4
5
ID(~1)
ID(~time)
ID(~time+gender)
ID(~time+gender,var.time="time")
ID(gender~time,var.time="time")

LMMstar documentation built on Nov. 5, 2021, 1:07 a.m.