Learn R Programming

timeSeries (version 4041.111)

rev: Reverse a 'timeSeries'

Description

Reverses an uni- or multivariate "timeSeries" object.

Usage

# S3 method for timeSeries
rev(x)

Value

a "timeSeries" object

Arguments

x

an uni- or multivariate "timeSeries" object.

Examples

Run this code
set.seed(1234)
## Create Dummy "timeSeries"
tS <- dummyMonthlySeries()
   
## reverse series
rev(tS)

Run the code above in your browser using DataLab