Hello, dear useR, Is there anyways to get the posterior probabilites for each group by using knn() instead of only get the proportions of winning class? Example knn(train=Train[,-c(1:3)], test=Test, cl=group.id.train,k=K, prob=True) will give you the proportions for winning votes, but I also want to know the other proportions of votes, how can I get that? Thanks very much in advance! Sincerely, Leon [[alternative HTML version deleted]]