prop {CICI} | R Documentation |
Helper function to calculate proportions of categorical variables
Description
To be used as fun
argument in custom.measure
.
Arguments
vec |
A vector with either numeric, logical or string elements. |
categ |
A numeric, logical or string vector of length 1, that refers to a particular category of |
Value
A scalar numeric value of the proportion of categ
values in vec
[Package CICI version 0.9.6 Index]