A long form longitudinal data for illustrating the use of the MASTA algorithm

longitudinal

Format

A data.frame with 3 columns:

code

integer indicator for the type of codes. It must be incremental and start from 1, which contains no skipping number.

id

patient id.

time

encounter time with the code. One patient can encounter with different types of codes multiple times.