createSplineSettings: Create the settings for adding a spline for continuous...

View source: R/FeatureEngineering.R

createSplineSettingsR Documentation

Create the settings for adding a spline for continuous variables

Description

Create the settings for adding a spline for continuous variables

Usage

createSplineSettings(continousCovariateId, knots, analysisId = 683)

Arguments

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

Details

Returns an object of class featureEngineeringSettings that specifies the sampling function that will be called and the settings

Value

An object of class featureEngineeringSettings


OHDSI/PatientLevelPrediction documentation built on Sept. 15, 2024, 6:38 a.m.