Description Usage Arguments Value Author(s) See Also
Function to normalise for meteorology for many variables.
1 2 | normalise_variables(df, variables, variables_explanatory, model = "rf",
ntree = 10, mtry = 3, nodesize = 3, n_predict = 10, verbose = TRUE)
|
df |
Data frame containing a |
variables |
Variables in |
variables_explanatory |
Variables to include in the model, i.e. the predictors. |
model |
Model type to use. Default is |
ntree |
Number of trees to grow for "rf" or "gbm" models. Default is low for testing purposes, increase for usable models. |
mtry |
Number of variables randomly sampled for splitting the |
nodesize |
Minimum size of terminal nodes for the "rf" model. |
n_predict |
Number of times to sample input data and predict using the model. |
verbose |
Should the function give messages? |
Named list with split input data, model performance data, and normalised data.
Stuart K. Grange
add_date_variables
, split_input_data
,
calculate_model
, normalise_for_meteorology
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.