Get a vector of column names expected for a dataset.
get_data_manage_standard_cols.Rd
Get a vector of column names expected for a dataset.
Arguments
- data
A data.frame or similar object
- coltype
A vector of values to match in the "Column Type" column of `data` or `NULL` to match all values.
Details
The input `data` must have columns named "Column Type" and "Column Name". The "Column Type" defines arbitrary strings to be matched to subset for the "Column Name"s of interest. The "Column Name" are the names themselves.
If not all "Column Type" values are in `data[["Column Type"]]`, an error will be raised.
See also
Other Data Management:
check_expected_cols()
,
nonmem_column_order()