Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getSelectedAttributes

Extract names of the selected attributes


Description

getSelectedAttributes returns a vector of names of attributes selected during a Boruta run.

Usage

getSelectedAttributes(x, withTentative = FALSE)

Arguments

x

an object of a class Boruta, from which relevant attributes names should be extracted.

withTentative

if set to TRUE, Tentative attributes will be also returned.

Value

A character vector with names of the relevant attributes.

Examples

## Not run: 
data(iris)
#Takes some time, so be patient
Boruta(Species~.,data=iris,doTrace=2)->Bor.iris
print(Bor.iris)
print(getSelectedAttributes(Bor.iris))

## End(Not run)

Boruta

Wrapper Algorithm for All Relevant Feature Selection

v7.0.0
GPL (>= 2)
Authors
Miron Bartosz Kursa [aut, cre] (<https://orcid.org/0000-0001-7672-648X>), Witold Remigiusz Rudnicki [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.