named_cols_to_factors | R Documentation |
Carries out class transform to factor. Enhances datatable usage by providing ready levels on click of the filter boxes.
named_cols_to_factors(df, fct_cols = fct_cols)
df |
a dataframe |
fct_cols |
a character vector, with the names of columns in the dataframe |
named_cols_to_factors()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.