cleanRFdata {rfPermute}R Documentation

Clean Random Forest Input Data

Description

Removes cases for a Random Forest classification model with missing data and predictors that are constant.

Usage

cleanRFdata(x, y, data, max.levels = 30)

Arguments

x

columns used as predictor variables as character or numeric vector.

y

column used as response variable as character or numeric.

data

data.frame containing x and y columns.

max.levels

maximum number of levels in response variable y.

Value

a data.frame containing cleaned data.

Author(s)

Eric Archer eric.archer@noaa.gov


[Package rfPermute version 2.5.2 Index]