series_names: Retrieve/Replace series names

Description Usage Arguments Examples

View source: R/series_names.R

Description

Retrieve or replace the series names of an object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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

1
2
3
4
5
6
# 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")

kvasilopoulos/exuber documentation built on Aug. 8, 2020, 7:52 a.m.