ts_to_tbl {healthyR.ts} | R Documentation |
Coerce a time-series object to a tibble
Description
This function takes in a time-series object and returns it in a
tibble
format.
Usage
ts_to_tbl(.data)
Arguments
.data |
The time-series object you want transformed into a |
Details
This function makes use of timetk::tk_tbl()
under the hood to obtain
the initial tibble
object. After the inital object is obtained a new column
called date_col
is constructed from the index
column using lubridate
if
an index column is returned.
Value
A tibble
Author(s)
Steven P. Sanderson II, MPH
See Also
Other Utility:
auto_stationarize()
,
calibrate_and_plot()
,
internal_ts_backward_event_tbl()
,
internal_ts_both_event_tbl()
,
internal_ts_forward_event_tbl()
,
model_extraction_helper()
,
ts_get_date_columns()
,
ts_info_tbl()
,
ts_is_date_class()
,
ts_lag_correlation()
,
ts_model_auto_tune()
,
ts_model_compare()
,
ts_model_rank_tbl()
,
ts_model_spec_tune_template()
,
ts_qq_plot()
,
ts_scedacity_scatter_plot()
,
util_difflog_ts()
,
util_doublediff_ts()
,
util_doubledifflog_ts()
,
util_log_ts()
,
util_singlediff_ts()
Examples
ts_to_tbl(BJsales)
ts_to_tbl(AirPassengers)