Learn R Programming

RTaxometrics (version 2.4)

ClassifyCases: Assigns cases to groups

Description

This function assigns cases to groups using the base-rate classification technique. Cases are sorted according to their total scores on all indicators, and the highest-scoring cases are assigned to the taxon such that the proportion of taxon members equals the specified base rate estimate.

Usage

ClassifyCases(x, p, cols = 0)

Arguments

x

The supplied data matrix.

p

The base rate estimate that will be used to classify cases.

cols

The column numbers that contain variables

Value

Data matrix with a new classification variable.

Details

Users should call this function directly if they wish to assign cases to groups.

References

Ruscio, J. (2009). Assigning cases to groups using taxometric results: an empirical comparison of classification techniques. Assessment, 16(1), 55-70.