We are hiring ! See our job offers.
##### swh:1:snp:0f920b1e114986636ba2e45b5c1a83473fb6cf12
Tip revision: a6a4107
chi.squared.Rd
\name{chi.squared}
\alias{chi.squared}
\title{ Chi-squared filter }
\description{
The algorithm finds weights of discrete attributes basing on a chi-squared test.
}
\usage{
chi.squared(formula, data)
}
\arguments{
\item{formula}{ a symbolic description of a model }
\item{data}{ a symbolic description of a model }
}
\details{
The result is equal to Cramer's V coefficient between source attributes and destination attribute.
}
\value{
a data.frame containing the worth of attributes in the first column and their names as row names
}
\author{ Piotr Romanski }
\examples{
library(mlbench)