change_freq: Change time-series frequency

Description Usage Arguments Value

View source: R/TimeSeries.R

Description

Change time-series frequency

Usage

1
change_freq(x, period = "months", dtype = c("return", "price"))

Arguments

x

xts object

period

character string of the desired time-series periods

dtype

character string of "return" or "price" to represent the data type

Value

xts object with new frequency


alejandro-sotolongo/InvestR documentation built on Jan. 9, 2021, 2:20 p.m.