% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/naivebayes.R
\docType{class}
\name{naivebayes-class}
\alias{naivebayes-class}
\title{naivebayes class object}
\value{
objects of the S3 class '\code{naivebayes}'
}
\description{
The functions \link{naivebayes} returns an object of the type
\code{naivebayes}.

An object of class '\code{naivebayes}' is a list with at least
the following components:

\describe{
\item{prior}{Matrix with prior probabilities,
i.e. marginal class probabilities Pr(class)}
\item{pcond}{list of matrices with conditional probabilities
of the features given the classes (one list element per class), Pr(x|class)}
\item{classes}{Names (character vector) of the classes}
\item{xvar}{Names of predictors}
\item{xmodel}{Conditional model for each predictor}
\item{design}{Model design object}
\item{call}{The function call which instantiated the object}
}
}
\section{S3 generics}{

The following S3 generic functions are available for an object
of class \code{naivebayes}:
\describe{
\item{\code{predict}}{Predict class probabilities for new features data.}
\item{\code{print}}{Basic print method.}
}
}

\examples{
## See example(naivebayes) for examples
}
\seealso{
\code{\link[=naivebayes]{naivebayes()}}
}
