Learn R Programming

PatientLevelPrediction (version 6.4.0)

simpleImpute: Simple Imputation

Description

This function does single imputation with the mean or median

Usage

simpleImpute(trainData, featureEngineeringSettings, done = FALSE)

Value

The imputed data

Arguments

trainData

The data to be imputed

featureEngineeringSettings

The settings for the imputation

done

Whether the imputation has already been done (bool)