lenTS: Validates if 'Y' is of an appropriate type for a time series...

Description Usage Arguments Value Examples

Description

Runs timeSeriesValidator and returns the number of rows of the returned matrix.

Usage

1
lenTS(Y)

Arguments

Y

the time series to be validated and of which the length is to be returned.

Value

Returns the length of the time series after validating it's valid.

Examples

1
2
3
4
Y <- lenTS(sp500)
Y <- lenTS(wheatprices)
Y <- lenTS(rnorm(10))
## Not run: Y <- lenTS("Not a valid input")

tobiaskley/quantspec documentation built on May 31, 2019, 4:44 p.m.