I have a dataframe where I read a csv like so to convert characters to factors
sim_df <- read.csv("test.csv", stringsAsFactors=T)
How can I do this without the stringsAsFactors argument and use dplyr syntax?
For example it would look something like so..
sim_df <- read.csv("text.csv") %>% mutate(<something to convert all string columns to factors>)
Thanks!