ts_adjust: Multiplicative adjustment of a time series for leap year /...

View source: R/timeseries.R

ts_adjustR Documentation

Multiplicative adjustment of a time series for leap year / length of periods

Description

Multiplicative adjustment of a time series for leap year / length of periods

Usage

ts_adjust(s, method = c("LeapYear", "LengthOfPeriod"), reverse = FALSE)

Arguments

s

The original time series

method

"LeapYear": correction for leap year "LengthOfPeriod": correction for the length of periods

reverse

Adjustment or reverse operation

Value

The interpolated series

Examples

y <- ABS$X0.2.09.10.M
ts_adjust(y)
# with reverse we can find the
all.equal(ts_adjust(ts_adjust(y), reverse = TRUE), y)

palatej/rjd3toolkit documentation built on Oct. 30, 2024, 10:46 p.m.