identify_interval is data descriptor function used to identify start and stop times for observations in a longitudinal data structure. Information is intended to be stored in a model_specification object.

identify_interval(start_name = NULL, end_name = NULL)

Arguments

start_name

The name of a variable in the input data that denotes the start of an interval.

end_name

The name of a variable in the input data that denotes the end of an interval.

Value

A object that can be used by specify_models to add information about the outcome to the data description function.

Author

M. Alan Brookhart