convertDataFrameToFeatureMatrix: convertDataFrameToFeatureMatrix

Description Usage Author(s)


Convert a data frame to a numeric feature matrix that can be used as features in a predictive model Numeric features are left as numeric. Character or factor features are converted to binary features if they have 2 unique values or if there are more than 2 unique values it is expanded to a binary feature for each possible value.




Adam Margolin

Sage-Bionetworks/predictiveModeling documentation built on May 9, 2019, 12:12 p.m.