cal_time: Calendar time helper

Description Usage Arguments Value

View source: R/TimeSeries.R

Description

Calendar time helper

Usage

1
2
3
4
5
cal_time(
  xwin = c("dtd", "wtd", "mtd", "qtd", "ytd", "ttm", "3 yr", "5 yr", "10 yr", "20 yr",
    "30 yr"),
  asof = Sys.Date()
)

Arguments

xwin

string to represent calendar window

asof

ending date of window

Value

beginning date of window


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