IND: Independence Structure

Description Usage Arguments Details Value Examples

View source: R/structure.R

Description

Variance-covariance structure where the residuals are independent.

Usage

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

Arguments

formula

formula indicating factors influencing the residual variance.

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 indicating constant variance or ~time indicating a time dependent variance.

Value

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

Examples

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

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