/*
The *_by_subscript functions use the short map.
- Their intended use is by covariance matrix routines, where normally 1 less than
+ Their intended use is by covariance matrix routines, where normally 1 less than
the total number of distinct values of each categorical variable should
be considered.
*/
const struct ccase *c);
/* Returns unity if the value in case C at SUBSCRIPT is equal to the category
- for that subscript.
+ for that subscript.
Else if it is the last category, return -1.
Otherwise return 0.
*/
void categoricals_set_payload (struct categoricals *cats, const struct payload *p, const void *aux1, void *aux2);
+bool categoricals_isbalanced (const struct categoricals *cat);
#endif