View source: R/cols_to_factor.R
cols_to_factor | R Documentation |
convert column to type factor
cols_to_factor(df, col_names)
df |
dataframe |
col_names |
vector of column names or indices to convert to factor |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.