Method dispatch for ts
tk_ts_dispatch_(data, select, start, end, frequency, deltat, ts.eps, silent)tk_ts_.data.frame(data, select, start, end, frequency, deltat, ts.eps, silent)
tk_ts_.default(data, select, start, end, frequency, deltat, ts.eps, silent)
A character vector
A time-based tibble or time-series object.
Applicable to tibbles and data frames only.
The column or set of columns to be coerced to ts
class.
the time of the first observation. Either a single number or a vector of two numbers (the second of which is an integer), which specify a natural time unit and a (1-based) number of samples into the time unit. See the examples for the use of the second form.
the time of the last observation, specified in the same way
as start
.
the number of observations per unit of time.
the fraction of the sampling period between successive
observations; e.g., 1/12 for monthly data. Only one of
frequency
or deltat
should be provided.
time series comparison tolerance. Frequencies are
considered equal if their absolute difference is less than
ts.eps
.
Used to toggle printing of messages and warnings.