https://github.com/cran/FSelector
Raw File
Tip revision: 893e2d90fd8569e5f0295334c9a1844e95d7911b authored by Piotr Romanski on 11 April 2009, 00:00 UTC
version 0.18
Tip revision: 893e2d9
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