col_names: Retrieve/Set column names

Description Usage Arguments Examples

View source: R/col_names.R

Description

Retrieve or set the column names of a class radf() object. Similar to colnames, with the only difference that col_names is for radf() objects.

Usage

1
2
3
col_names(x, ...)

col_names(x) <- value

Arguments

x

An object of class radf()

...

Further arguments passed to methods.

value

An ordered vector of the same length as the ‘index’ attribute of x.

Examples

1
2
3
4
5
# Simulate bubble processes
dta <- cbind(sim_dgp1(n = 100), sim_dgp2(n = 100))

rfd <- radf(dta)
col_names(rfd) <- c("OneBubble", "TwoBubbles")

exuber documentation built on March 2, 2019, 1:04 a.m.