dummyTimeSeries {timeSeries} | R 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 |
units |
an optional character string, which allows to overwrite the current
column names of a |
FinCenter |
a character with the the location of the financial center named as
|
zone |
the time zone or financial center where the data were recorded. |
... |
optional arguments passed to |
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)
[Package timeSeries version 4032.109 Index]