add_class: Convenience function to add a class

Description Usage Arguments Examples

View source: R/radiant.R

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"))

radiant.data documentation built on May 29, 2017, 2:52 p.m.