What does the value of votes and prob signifies in bagging

r
classification
bagging

#1

I am currently doing a problem of classification using bagging. I have created the model and after the creation of model I have looked into model
library(rpart)
data(iris)
iris.bagging <- bagging(Species~., data=iris, mfinal=10)
iris.bagging

In the model I have found two values 1-prob 2-votes. I am not able to interpret them.


#2

@harry-
votes
a matrix describing, for each observation, the number of trees that assigned it to each class.

prob
a matrix describing, for each observation, the posterior probability or degree of support of each class. These probabilities are calculated using the proportion of votes in the final ensemble.

Hope this helps!
Regards,
hinduja