Description Usage Arguments Value Examples
Transform a longitudinal dataset into one row per subject
1 | by_subject(dat)
|
dat |
dataset to transform |
A data frame with one row per subject with all subject-level variables remaining as regular columns and a list-column "longi" of nested data frames of the subject's longitudinal data.
1 | cppsubj <- by_subject(cpp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.