View source: R/dummy_regressor_caret.R
dummy_regressor_caret | R Documentation |
dummy regressor for a numerical variable, used in the train function in caret.
dummy_regressor_caret(strategy = "mean", quantile = NULL, constant = NULL)
strategy |
a strategy from "constant", "mean", "median", or "quantile". |
quantile |
used when using the quantile strategy. It is a value between 0 and 1. |
constant |
used when using the constant strategy. It is a numeric value. |
a list containing information of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.