getSelectedAttributes: Extract names of the selected attributes

Description Usage Arguments Value Author(s) Examples

View source: R/tools.R

Description

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

Usage

1
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.

Author(s)

Miron B. Kursa

Examples

1
2
3
4
5
6
7
8
## 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)

mbq/Boruta documentation built on April 3, 2018, 11:29 p.m.