Learn R Programming

mikropml (version 1.6.1)

process_cont_feats: Preprocess continuous features

Description

Preprocess continuous features

Usage

process_cont_feats(features, method)

Value

dataframe of preprocessed features

Arguments

features

Dataframe of features for machine learning

method

Methods to preprocess the data, described in caret::preProcess() (default: c("center","scale"), use NULL for no normalization).

Author

Zena Lapp, zenalapp@umich.edu

Examples

Run this code
if (FALSE) {
process_cont_feats(mikropml::otu_small[, 2:ncol(otu_small)], c("center", "scale"))
}

Run the code above in your browser using DataLab