series_names: Retrieve/Replace series names

View source: R/series_names.R

series_namesR Documentation

Retrieve/Replace series names

Description

Retrieve or replace the series names of an object.

Usage

series_names(x, ...)

series_names(x) <- value

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

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

## S3 replacement method for class '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


# 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")


exuber documentation built on March 31, 2023, 9:51 p.m.