Description Usage Arguments Value Author(s) Examples
prepare_input_data
will check variable names, transform the parsed
date
variable into other variables, impute missing data, and make
correct data types.
1 | add_date_variables(df, impute = TRUE)
|
df |
Data frame containing air quality data. |
impute |
Should missing values be imputed? Numeric variables will be imputed with their median while categorical variables the mode will be used. |
Data frame.
Stuart K. Grange
1 2 3 4 5 6 7 | ## Not run:
# Prepare data for modelling
data_swiss_daily <- add_date_variables(data_swiss)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.