Learn R Programming

exuber (version 0.3.0)

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 <- data.frame(psy1 = sim_psy1(n = 100), psy2 = sim_psy2(n = 100))

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

Run the code above in your browser using DataLab