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
time(x, …) # S3 method for default time(x, offset = 0, …)
cycle(x, …) frequency(x, …) deltat(x, …)
a univariate or multivariate time-series, or a vector or matrix.
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
extra arguments for future methods.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.