Learn R Programming

forecasteR (version 3.0.2)

get_start: Get ts start of a time series

Description

Get ts start of a time series

Usage

get_start(ini, tipo_f, patron)

Value

numeric vector of lenght 2

Arguments

ini

a Date object.

tipo_f

type of the time series ('year', 'month', ..., 'seconds').

patron

frequency of time series.

Author

Diego Jimenez <diego.jimenez@promidat.com>

Examples

Run this code
get_start(as.Date("2021-06-30"), 'days', 365)

Run the code above in your browser using DataLab