classifly (version 0.4)

classify: Extract classifications from a variety of methods.

Description

If the classification method can produce a matrix of posterior probabilities (see posterior), then that will be used to calculate the advantage. Otherwise, the classify method will be used and the advantage calculated using a k-nearest neighbours approach.

Usage

classify(model, data, ...)

Arguments

model

model object

data

data set used in model

...

other argument passed on to methods