id_first_data {dbGaPCheckup} | R Documentation |
Relocate SUBJECT_ID to First Column of Data Set
Description
This utility function reorders the data set so that SUBJECT_ID comes first.
Usage
id_first_data(DS.data)
Arguments
DS.data |
Data set. |
Details
SUBJECT_ID is required to be the first column of the data set and first variable listed in the data dictionary.
Value
Updated data set with SUBJECT_ID as first column.
Examples
data(ExampleQ)
head(DS.data.Q)
DS.data.updated <- id_first_data(DS.data.Q)
head(DS.data.updated)
[Package dbGaPCheckup version 1.1.0 Index]