[R] naive bayes of e1071 package

Sauli Rintanen srintanen at yahoo.com
Wed Oct 27 21:00:41 CEST 2010


Hi,

I am using e1071 package and trying to do classification on Iris dataset:

model <- naiveBayes(Species ~ ., data = iris)
pred <- predict(model, iris[,])

How can I see conditional probability distribution of this model? And also how 
can I see maximum likelihood estimate for the model?

Thanks.
Sauli



More information about the R-help mailing list