| makemethod_train_smooth_data | R Documentation |
This function generates a list which is compatible to be used as the
method argument to train. This enables users to
call train directly themselves with smooth_data
smoothing functions.
makemethod_train_smooth_data(sm_method, tuneGrid = NULL)
sm_method |
Argument specifying which smoothing method should be used. Options include "moving-average", "moving-median", "loess", "gam", and "smooth.spline". |
tuneGrid |
A Note that, when using train, the |
A list that can be used as the method argument to
train. Contains elements:
library, type, prob, fit,
parameters, grid, fit, and predict.
See documentation on using a custom model model in train for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.