varFromRfe: Extract variables from rfe model

Description Usage Arguments Value Author(s) Examples

View source: R/varFromRfe.R

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 13, 2017, 6:09 p.m.