It was not used for anything.
cmd->wv = dict_get_weight (cmd->dict);
cmd->cats
- = categoricals_create (cmd->iacts, cmd->n_iacts,
- cmd->wv, cmd->dep_excl, cmd->fctr_excl);
+ = categoricals_create (cmd->iacts, cmd->n_iacts, cmd->wv, cmd->fctr_excl);
categoricals_set_payload (cmd->cats, &payload, cmd, NULL);
NULL, NULL);
ws.cats = categoricals_create (cmd->interactions, cmd->n_interactions,
- cmd->wv, cmd->exclude, MV_ANY);
+ cmd->wv, MV_ANY);
cov = covariance_2pass_create (cmd->n_dep_vars, cmd->dep_vars,
ws.cats, cmd->wv, cmd->exclude, true);
res->cp.destroy = frq_destroy;
res->cats = categoricals_create (cmd->cat_predictors, cmd->n_cat_predictors,
- cmd->wv, cmd->exclude, MV_ANY);
+ cmd->wv, MV_ANY);
categoricals_set_payload (res->cats, &res->cp, cmd, res);
}
struct mtable *table = &cmd->table[t];
table->cats
= categoricals_create (table->interactions,
- table->n_layers, wv, cmd->dep_exclude, cmd->exclude);
+ table->n_layers, wv, cmd->exclude);
categoricals_set_payload (table->cats, &payload, cmd, table);
}
ws.vws[v].iact = interaction_create (cmd->indep_var);
ws.vws[v].cat = categoricals_create (&ws.vws[v].iact, 1, cmd->wv,
- cmd->exclude, cmd->exclude);
+ cmd->exclude);
categoricals_set_payload (ws.vws[v].cat, &payload,
CONST_CAST (struct variable *, cmd->vars[v]),
struct pool *pool;
- /* Missing values in the dependent varirable to be excluded */
- enum mv_class dep_excl;
-
/* Missing values in the factor variables to be excluded */
enum mv_class fctr_excl;
struct categoricals *
categoricals_create (struct interaction *const*inter, size_t n_inter,
- const struct variable *wv, enum mv_class dep_excl, enum mv_class fctr_excl)
+ const struct variable *wv, enum mv_class fctr_excl)
{
size_t i;
struct categoricals *cat = xmalloc (sizeof *cat);
cat->reverse_variable_map_short = NULL;
cat->reverse_variable_map_long = NULL;
cat->pool = pool_create ();
- cat->dep_excl = dep_excl;
cat->fctr_excl = fctr_excl;
cat->payload = NULL;
cat->aux2 = NULL;
union value ;
struct categoricals *categoricals_create (struct interaction *const*, size_t n_int,
- const struct variable *wv, enum mv_class dep_excl,
+ const struct variable *wv,
enum mv_class fctr_excl);
void categoricals_destroy (struct categoricals *);