varFromRfe: Extract variables from rfe model

Description Usage Arguments Value Author(s) Examples

Description

This is an internal function used by calculatePredictors

Usage

1
varFromRfe(rfeModel, useOptimal = TRUE)

Arguments

rfeModel

An object of class rfe

useOptimal

Logical. Use the optimal variables from rfe or those less variables which lead to a model performance within one sd of the optimal model?

Value

A list of variables from the rfe object which can be directly used in calculatePredictors

Author(s)

Hanna Meyer

Examples

1
2
data(rfeModel)
varFromRfe(rfeModel) 

environmentalinformatics-marburg/Rainfall documentation built on May 16, 2019, 7:49 a.m.