ids: Get the trajectory ids on which the model was fitted
Description
Get the trajectory ids on which the model was fitted
Usage
ids(object)
Arguments
object
The lcModel object.
Value
A character vector or integer vector of the identifier for every fitted trajectory.
Details
The order returned by ids(object) determines the id order for any output involving id-specific values, such as in trajectoryAssignments() or postprob().
# NOT RUN {data(latrendData)
method <- lcMethodRandom("Y", id = "Id", time = "Time")
model <- latrend(method, latrendData)
ids(model) # 1, 2, ..., 200# }