| convert_format | R Documentation | 
convert_format will accept a character vector of column names and convert them to a desired format using functions
such as as.factor.
convert_format(data, func, col_list, ...)
data | 
 Data object.  | 
func | 
 Function for converting data types.  | 
col_list | 
 Character vector of column names.  | 
... | 
 Additional parameters to pass to the function provided.  | 
Dataset with reformatted columns.
convert_format(iris, factor, c('Sepal.Width'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.