Description Usage Arguments Value
Create predictions from a Naive Bayes model
1 2 | ## S3 method for class 'nb'
predict(object, newdata)
|
object |
An object of class |
newdata |
An optional data frame to use in the prediction |
A list containing the predicted values and classes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.