add_class {radiant.data}R Documentation

Convenience function to add a class

Description

Convenience function to add a class

Usage

add_class(x, cl)

Arguments

x

Object

cl

Vector of class labels to add

Examples

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

[Package radiant.data version 1.6.6 Index]