View source: R/FeatureEngineering.R
createSplineSettings | R Documentation |
Create the settings for adding a spline for continuous variables
createSplineSettings(continousCovariateId, knots, analysisId = 683)
continousCovariateId |
The covariateId to apply splines to |
knots |
Either number of knots of vector of split values |
analysisId |
The analysisId to use for the spline covariates |
Returns an object of class featureEngineeringSettings
that specifies the sampling function that will be called and the settings
An object of class featureEngineeringSettings
# create splines for age (1002) with 5 knots
createSplineSettings(continousCovariateId = 1002, knots = 5, analysisId = 683)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.