factorise_cols | R Documentation |
factorise_cols
returns a copy of the passed data frame in which all
explicitly named columns are converted to factors with as.factor
All columns with only NA values are ommitted.
factorise_cols(df, col_list)
df |
data frame |
col_list |
vector of quoted column names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.