% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/naivebayes.R
\name{predict.naivebayes}
\alias{predict.naivebayes}
\title{Predictions for Naive Bayes Classifier}
\usage{
\method{predict}{naivebayes}(object, newdata, expectation = NULL, threshold = c(0.001, 0.001), ...)
}
\arguments{
\item{object}{density object}

\item{newdata}{new data on which to make predictions}

\item{expectation}{Variable to calculate conditional expectation wrt
probabilities from naivebayes classifier}

\item{threshold}{Threshold parameters. First element defines the threshold
on the probabilities and the second element the value to set those
truncated probabilities to.}

\item{...}{Additional arguments to lower level functions}
}
\description{
Naive Bayes Classifier predictions
}
\author{
Klaus K. Holst
}
