time creates the vector of times at which a time series was sampled.
cycle gives the positions in the cycle of each observation.
frequency returns the number of samples per unit time and
deltat the time interval between observations (see
1 2 3 4 5 6 7
a univariate or multivariate time-series, or a vector or matrix.
can be used to indicate when sampling took place
in the time unit.
extra arguments for future methods.
These are all generic functions, which will use the
tsp attribute of
x if it exists.
cycle have methods for class
ts that coerce
the result to that class.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
date for clock time,
for CPU usage.
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.