union value ;
-struct categoricals *categoricals_create (struct interaction *const *, size_t n_int,
+struct categoricals *categoricals_create (struct interaction *const*, size_t n_int,
const struct variable *wv, enum mv_class dep_excl,
enum mv_class fctr_excl);
/*
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