Naive Bayes Classifier
NB( formula, data, weights = NULL, kernel = FALSE, laplace.smooth = 0, prior = NULL, ... )
Formula with syntax: response ~ predictors | weights
optional frequency weights
If TRUE a kernel estimator is used for numeric predictors (otherwise a gaussian model is used)
optional prior probabilities (default estimated from data)
additional arguments to lower level functions
An object of class '
NB' is returned. See
NB-class for more details about this class and
its generic functions.