factorise_cols {besthr} | 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 |