For margin
, the margin of observations from the
randomForest
classifier (or whatever classifier that
produced the predicted probability matrix given to margin
).
The margin of a data point is defined as the proportion of votes for
the correct class minus maximum proportion of votes for the other
classes. Thus under majority votes, positive margin means correct
classification, and vice versa.