Description Usage Arguments Examples
View source: R/exploratory_functions.R
This function returns the original data.frame with all factor variables converted to character variables
1 |
df: |
the data.frame to have its factor columns converted to characters |
1 2 3 | fake_df <- data.frame(alpha = as.factor(c('a', 'b', 'c', 'd')), beta = 1:4)
str(fake_df)
str(convert_facts_to_chars(fake_df))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.