identify_subject is a data descriptor function used to identify a subject identifier variable in the data.

identify_subject(name, group = NULL)

Arguments

name

The nume of variable in the input data containing the subject identifier.

group

If there are repeated clusters of observations per subject, group identifies each group of observations. This is needed for data structures where each group may have multiple observations.

Value

A object that can be used by specify_models to add subject_id information to the data description object.

Author

M. Alan Brookhart