Description Usage Arguments Value Examples
This function extracts any foreign column labels from a data frame
input. It
searches the attributes
of the data frame
input for named values as $label
.
1 | spss_col_labels_vec(df, col_name = NULL)
|
df |
a |
Returns a characer
vector with each column from the data frame
input as a row and
the corresponding foreign label (SPSS, Stata, SAS) for any applicable columns.
Any columns with no foreign labels return NA
values for the column_labels
column.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.