a univariate or multivariate time-series, or a vector or matrix.
offset
can be used to indicate when sampling took place
in the time unit. 0 (the default) indicates the start
of the unit, 0.5 the middle and 1 the end of
the interval.
…
extra arguments for future methods.
Details
These are all generic functions, which will use the
tsp attribute of x if it exists. time
and cycle have methods for class ts that coerce
the result to that class.
References
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
The New S Language.
Wadsworth & Brooks/Cole.