rc_fill | R Documentation |
Takes a data point which only occurs in a single event (row)
and copies that data to all rows for each participant (or other grouping
variable assigned by group_by
). This function is particularly useful
for making filtering operations more straight forward.
rc_fill(record_data, ..., group_by = getOption("redcap_bundle")$id_field)
record_data |
Dataframe. Record data exported from REDCap |
... |
Variables to be filled. Variable names must be quoted. |
group_by |
Variable(s) to group data by. The project's record_id field is used by default. |
Marcus Lehr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.