View source: R/prepare-predictive-data.R
prepare_regression_data | R Documentation |
A wrapper around prepare_predictor_vars()
and prepare_response_vars()
for one-line
regression data preparation.
prepare_regression_data(dates = NULL, na.omit = TRUE, ...)
dates |
Object of class |
na.omit |
Logical; if |
... |
Optional arguments passed to |
Data frame with rows for individual dates and columns for several variables to be used in regression modeling.
See prepare_predictor_vars()
and prepare_response_vars()
for variable definitions.
In addition to those variables, there is also a period
variable (see KuskoHarvUtils::get_period()
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.