fin-dummy: Create dummy time series

dummyTimeSeriesR Documentation

Create dummy time series

Description

Create dummy daily and monthly time series for examples and exploration.

Usage

dummyDailySeries(x = rnorm(365), units = NULL, zone = "", 
                 FinCenter = "")

dummyMonthlySeries(...)

Arguments

x

an object of class timeSeries.

units

an optional character string, which allows to overwrite the current column names of a timeSeries object. By default NULL which means that the column names are selected automatically.

FinCenter

a character with the the location of the financial center named as "continent/city".

zone

the time zone or financial center where the data were recorded.

...

optional arguments passed to timeSeries.

Details

dummyDailySeries creates a timeSeries object with dummy daily dates from a numeric matrix with daily records of unknown dates.

dummyMonthlySeries creates a dummy monthly "timeSeries" object.

Value

a "timeSeries" object

Examples

dd <- dummyDailySeries()
head(dd)
tail(dd)

dummyMonthlySeries(y = 2022)

timeSeries documentation built on Sept. 30, 2024, 9:15 a.m.