Learn R Programming

exuber (version 1.0.2)

series_names: Retrieve/Replace series names

Description

Retrieve or replace the series names of an object.

Usage

series_names(x, ...)

series_names(x) <- value

# S3 method for radf_obj series_names(x) <- value

# S3 method for wb_cv series_names(x) <- value

# S3 method for sb_cv series_names(x) <- value

Arguments

x

An object.

...

Further arguments passed to methods.

value

n ordered vector of the same length as the "index" attribute of x.

Examples

Run this code

# Simulate bubble processes
dta <- data.frame(psy1 = sim_psy1(n = 100), psy2 = sim_psy2(n = 100))

rfd <- radf(dta)

series_names(rfd) <- c("OneBubble", "TwoBubbles")

Run the code above in your browser using DataLab