add_class: Convenience function to add a class

Description Usage Arguments Examples

Description

Convenience function to add a class

Usage

1
add_class(x, cl)

Arguments

x

Object

cl

Vector of class labels to add

Examples

1
2
foo <- "some text" %>% add_class("text")
foo <- "some text" %>% add_class(c("text","another class"))


Search within the radiant.data package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.