ClassifyCases {RTaxometrics} | R Documentation |
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 |
Details
Users should call this function directly if they wish to assign cases to groups.
Value
Data matrix with a new classification variable.
Author(s)
John Ruscio <ruscio@tcnj.edu> and Shirley Wang <shirleywang@g.harvard.edu> Maintainer: John Ruscio <ruscio@tcnj.edu>
References
Ruscio, J. (2009). Assigning cases to groups using taxometric results: an empirical comparison of classification techniques. Assessment, 16(1), 55-70.