powered by
add_class(x, cl)
foo <- "some text" %>% add_class("text") foo <- "some text" %>% add_class(c("text","another class"))
Run the code above in your browser using DataLab