Description Usage Arguments Value Examples
View source: R/feature_engineering.R
Generate trend and seasonal components for regression based models
1 2 3 4 5 6 | seasonal_features(
.data,
freq = .log$prescription$freq,
numeric_seas = FALSE,
hierarchy_seas = FALSE
)
|
.data |
data-frame or tibble |
freq |
Numeric. Time series frequency |
numeric_seas |
logical: whether or not to print numberic seasonal variables instead of factor. |
hierarchy_seas |
logical: whether or not to provide higher aggregation levels. For instance, a time series of weekly frequency will generate besides week_seas, also month_seas, and year_seas. |
data-frame or tibble
1 2 3 4 | ## Not run:
get_design_matrix()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.