timekit_internal: Internal Functions Used in timekit

Description Usage Arguments

Description

The following are internal functions that are not meant to be used by users.

Usage

1
2
3
4
5
6
7
8
9
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)

tk_zooreg_.data.frame(data, select, date_var, start, end, frequency, deltat,
  ts.eps, order.by, silent)

tk_zooreg_.default(data, select, date_var, start, end, frequency, deltat,
  ts.eps, order.by, silent)

Arguments

data

A time-based tibble or time-series object.

select

Applicable to tibbles and data frames only. The column or set of columns to be coerced to zooreg class.

start

the time of the first observation. Either a single number or a vector of two integers, which specify a natural time unit and a (1-based) number of samples into the time unit.

end

the time of the last observation, specified in the same way as start.

frequency

the number of observations per unit of time.

deltat

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.

ts.eps

time series comparison tolerance. Frequencies are considered equal if their absolute difference is less than ts.eps.

silent

Used to toggle printing of messages and warnings.

date_var

Applicable to tibbles and data frames only. Column name to be used to order.by. NULL by default. If NULL, function will find the date or date-time column.

order.by

a vector by which the observations in x are ordered. If this is specified the arguments start and end are ignored and zoo(data, order.by, frequency) is called. See zoo for more information.


timekit documentation built on July 4, 2017, 9:45 a.m.