getSelectedAttributes.Rd 807 B

1234567891011121314151617181920212223242526272829
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/tools.R
  3. \name{getSelectedAttributes}
  4. \alias{getSelectedAttributes}
  5. \title{Extract names of the selected attributes}
  6. \usage{
  7. getSelectedAttributes(x, withTentative = FALSE)
  8. }
  9. \arguments{
  10. \item{x}{an object of a class Boruta, from which relevant attributes names should be extracted.}
  11. \item{withTentative}{if set to \code{TRUE}, Tentative attributes will be also returned.}
  12. }
  13. \value{
  14. A character vector with names of the relevant attributes.
  15. }
  16. \description{
  17. \code{getSelectedAttributes} returns a vector of names of attributes selected during a Boruta run.
  18. }
  19. \examples{
  20. \dontrun{
  21. data(iris)
  22. #Takes some time, so be patient
  23. Boruta(Species~.,data=iris,doTrace=2)->Bor.iris
  24. print(Bor.iris)
  25. print(getSelectedAttributes(Bor.iris))
  26. }
  27. }