https://github.com/cran/FSelector
Revision a6a4107a08051dfddc3c733102d002fd8617ab9e authored by Lars Kotthoff on 25 October 2014, 00:00:00 UTC, committed by Gabor Csardi on 25 October 2014, 00:00:00 UTC
1 parent c389439
Raw File
Tip revision: a6a4107a08051dfddc3c733102d002fd8617ab9e authored by Lars Kotthoff on 25 October 2014, 00:00:00 UTC
version 0.20
Tip revision: a6a4107
as.simple.formula.Rd
\name{as.simple.formula}
\alias{as.simple.formula}
\title{ Converting to formulas }
\description{
  Converts character vector of atrributes' names and destination attribute's name to a simple formula.
}
\usage{
as.simple.formula(attributes, class)
}
\arguments{
  \item{attributes}{ character vector of attributes' names }
  \item{class}{ name of destination attribute }
}
\value{
  A simple formula like "class ~ attr1 + attr2"
}
\author{ Piotr Romanski }
\examples{
  data(iris)
  result <- cfs(Species ~ ., iris)
  f <- as.simple.formula(result, "Species")
}
back to top