I am trying to apply some transformations to all the elements in a dataframe.
When using the regular apply functions, I get a matrix back and not a dataframe. Is there a
Here's a way using dplyr:
dplyr
library(dplyr) df %>% mutate_each(funs(tolower))