Learn R Programming

exuber (version 0.2.1)

col_names: Retrieve/Set column names

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

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

Run this code
# NOT RUN {
# Simulate bubble processes
dta <- cbind(sim_dgp1(n = 100), sim_dgp2(n = 100))

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

Run the code above in your browser using DataLab