Learn R Programming

drm (version 0.5-8)

Time: Identify ordering of the responses

Description

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

Usage

Time(x)

Arguments

x
A factor, or numeric variable.

Details

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

See Also

drm, depratio, cluster

Examples

Run this code
formula(wheeze~cluster(id)+Time(age))

Run the code above in your browser using DataLab