Learn R Programming

rfPermute (version 2.5.2)

cleanRFdata: 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)

Value

a data.frame containing cleaned data.

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.

Author

Eric Archer eric.archer@noaa.gov