Takes a dataset of pattern information and creates a summary dataset of it with just 1 row per pattern
Details
The column
pgroup
must be a numeric vector indicating which pattern group the patient belongs toThe column
pattern
must be a character string of0
's or1
's. It must be identical for all rows within the samepgroup
The column
group
must be a character / numeric vector indicating which covariance group the observation belongs to. It must be identical within the samepgroup