ex_uts: Example Time Series

Description Usage Arguments Value Examples

View source: R/example_ts.R

Description

Create time series that can be used for code examples and testing.

Usage

1
2
3
4
5
ex_uts()

ex_uts2()

ex_uts3(n = 1000L)

Arguments

n

an integer, specifying the length of the desired time series.

Value

ex_uts() returns a numeric "uts" with six observations.

ex_uts2() returns a non-numeric "uts" with three observations.

ex_uts3() returns a daily "uts" that starts in 1/1/2000. The observation values are drawn from a normal distribution with mean 0 and standard deviation 1. For reproducability, the random numbers are draw with fixed initial seed.

Examples

1
2
3
4

andreas50/uts documentation built on April 8, 2021, 10:03 a.m.