powered by
Convenience function to add a class
add_class(x, cl)
Object
Vector of class labels to add
# NOT RUN { foo <- "some text" %>% add_class("text") foo <- "some text" %>% add_class(c("text","another class")) # }
Run the code above in your browser using DataLab