Learn R Programming

latrend (version 1.1.0)

ids: Get the unique ids included in this model

Description

Get the unique ids included in this model

Usage

ids(object)

Arguments

object

The lcModel object.

Details

The order returned by ids(lcModel) determines the id order for any output involving id-specific values, such as in trajectoryAssignments() or postprob()

Examples

Run this code
# NOT RUN {
model = latrend(lcMethodKML("Y", id = "Id", time = "Time"), latrendData)
ids(model) # S1, S2, ..., S500
# }

Run the code above in your browser using DataLab