Description Usage Arguments Value Examples
This function takes in a data frame containing short paired data with one row / pair and outputs one row / ENROLLID in the pair. If the data does not contain a column named 'pair_id' one will be added with a unqiue number for each pair. This is currently groups by pair_id
1 | longform_pairs(df, columns = c("ENROLLID", "onset", "gc_ul", "sequenced"))
|
df |
A data frame with obseravtions to be split |
columns |
columns to be added. They must be equal to names that already exist in every way except lacking either a 1 or a 2 at the end. |
the a data frame with a row for each ENROLLID
1 2 3 | one_meta<-only_one(small_meta)
tp<-getting_tp(one_meta)
longform_pairs(tp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.