Extract posterior group probabilities

Description

Every classification method seems to provide a slighly different way of retrieving the posterior probability of group membership. This function provides a common interface to all of them

Usage

1
posterior(model, data)

Arguments

model

model object

data

data set used in model