View source: R/diagnostics-tk_summary_diagnostics.R
| tk_summary_diagnostics | R Documentation |
tk_summary_diagnostics() returns the time series summary from
one or more timeseries groups in a tibble.
tk_summary_diagnostics(.data, .date_var)
.data |
A |
.date_var |
A column containing either date or date-time values. If missing, attempts to auto-detect the date or date-time column. |
Applies tk_get_timeseries_summary() group-wise returning the summary of one or more
time series groups.
Respects dplyr groups
Returns the time series summary from a time-based feature.
A tibble or data.frame with timeseries summary features
library(dplyr)
# ---- NON-GROUPED EXAMPLES ----
# Monthly Data
m4_monthly %>%
filter(id == "M750") %>%
tk_summary_diagnostics()
# ---- GROUPED EXAMPLES ----
# Monthly Data
m4_monthly %>%
group_by(id) %>%
tk_summary_diagnostics()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.