cluster {drm}R Documentation

Identify clusters

Description

This is a special function used in the drm or depratio syntax. It identifies correlated groups of observations, and is used on the right hand side of a formula.

Usage

cluster(x)

Arguments

x A character, factor, or numeric variable.

Details

The function's only action is semantic, to mark a variable as the cluster indicator.

Value

x

See Also

drm, depratio, Time

Examples

formula(wheeze~cluster(id))

[Package drm version 0.5-8 Index]