Re: [R] Apriori probabilities in naiveBayes function

2013-08-05 Thread Bart Kastermans
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 8/5/13 1:00 PM, Anindya Sankar Dey wrote: > Hi All, > > I applied the naiveBayes function in e1071 package with the iris > data, and here's the list that was created > > structure(list(apriori = structure(c(50L, 50L, 50L), .Dim = 3L, > .Dimnam

[R] Apriori probabilities in naiveBayes function

2013-08-05 Thread Anindya Sankar Dey
Hi All, I applied the naiveBayes function in e1071 package with the iris data, and here's the list that was created structure(list(apriori = structure(c(50L, 50L, 50L), .Dim = 3L, .Dimnames = structure(list( Y = c("setosa", "versicolor", "virginica")), .Names = "Y"), class = "table"), tab