abstract.ts: Abstract Time Series

Description Usage Arguments Details Value See Also

Description

alike will treat time series parameter components with zero in them as wildcards. This function allows you to create these wild card time series attributes since R does not allow direct creation/modification of ts attributes with zero values.

Usage

1
2
## S3 method for class 'ts'
abstract(x, what = c("start", "end", "frequency"), ...)

Arguments

x

the object to abstract

what

which portion of the ts attribute to abstract, by default all three are abstracted, but you can select, any one, two, or all

...

arguments for methods that require further arguments

Details

Make sure you do not try to use the templates you create with this for anything other than as alike templates since the result is likely undefined given R expects non zero values for the ts attribute and attempts to prevent such attributes.

Value

a ts object with the ts parameter modified

See Also

abstract


brodieG/alike documentation built on May 13, 2019, 7:44 a.m.