set_attr: Alias used to add an attribute

Description Usage Arguments Examples

View source: R/radiant.R

Description

Alias used to add an attribute

Usage

1
set_attr(x, which, value)

Arguments

x

Object

which

Attribute name

value

Value to set

Examples

1
foo <- data.frame(price = 1:5) %>% set_attr("desc", "price set in experiment ...")

radiant-rstats/radiant.data documentation built on Nov. 13, 2018, 6:57 a.m.