View source: R/id_first_data.R
id_first_data | R Documentation |
This utility function reorders the data set so that SUBJECT_ID comes first.
id_first_data(DS.data)
DS.data |
Data set. |
SUBJECT_ID is required to be the first column of the data set and first variable listed in the data dictionary.
Updated data set with SUBJECT_ID as first column.
data(ExampleQ)
head(DS.data.Q)
DS.data.updated <- id_first_data(DS.data.Q)
head(DS.data.updated)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.