/* The number of distinct values of the independent variable, when all
missing values are disregarded */
int actual_number_of_groups;
/* The number of distinct values of the independent variable, when all
missing values are disregarded */
int actual_number_of_groups;
-static void show_anova_table (const struct oneway *);
-static void show_descriptives (const struct oneway *, const struct dictionary *dict);
-static void show_homogeneity (const struct oneway *);
+static void show_anova_table (const struct oneway_spec *);
+static void show_descriptives (const struct oneway_spec *, const struct dictionary *dict);
+static void show_homogeneity (const struct oneway_spec *);
-static void output_oneway (const struct oneway *, const struct dictionary *dict);
-static void run_oneway (struct oneway *cmd, struct casereader *input, const struct dataset *ds);
+static void output_oneway (const struct oneway_spec *, struct oneway_workspace *ws);
+static void run_oneway (const struct oneway_spec *cmd, struct casereader *input, const struct dataset *ds);
&oneway.vars, &oneway.n_vars,
PV_NO_DUPLICATE | PV_NUMERIC))
goto error;
lex_force_match (lexer, T_BY);
&oneway.vars, &oneway.n_vars,
PV_NO_DUPLICATE | PV_NUMERIC))
goto error;
lex_force_match (lexer, T_BY);
while (casegrouper_get_next_group (grouper, &group))
run_oneway (&oneway, group, ds);
ok = casegrouper_destroy (grouper);
while (casegrouper_get_next_group (grouper, &group))
run_oneway (&oneway, group, ds);
ok = casegrouper_destroy (grouper);
-static void postcalc (const struct oneway *cmd);
-static void precalc (const struct oneway *cmd);
+static void postcalc (const struct oneway_spec *cmd);
+static void precalc (const struct oneway_spec *cmd);
struct casereader *input,
const struct dataset *ds)
{
struct casereader *input,
const struct dataset *ds)
{
const double weight = dict_get_case_weight (dict, c, NULL);
const union value *indep_val = case_data (c, cmd->indep_var);
const double weight = dict_get_case_weight (dict, c, NULL);
const union value *indep_val = case_data (c, cmd->indep_var);
-static void show_contrast_coeffs (const struct oneway *cmd);
-static void show_contrast_tests (const struct oneway *cmd);
+static void show_contrast_coeffs (const struct oneway_spec *cmd, struct oneway_workspace *ws);
+static void show_contrast_tests (const struct oneway_spec *cmd, struct oneway_workspace *ws);
- show_contrast_coeffs (cmd);
- show_contrast_tests (cmd);
+ show_contrast_coeffs (cmd, ws);
+ show_contrast_tests (cmd, ws);
tab_joint_text (t, 2, 0, n_cols - 1, 0, TAB_CENTER | TAT_TITLE,
var_to_string (cmd->indep_var));
tab_joint_text (t, 2, 0, n_cols - 1, 0, TAB_CENTER | TAT_TITLE,
var_to_string (cmd->indep_var));
tab_text_format (t, 1, c_num + 2, TAB_CENTER, "%d", c_num + 1);
for (count = 0;
tab_text_format (t, 1, c_num + 2, TAB_CENTER, "%d", c_num + 1);
for (count = 0;