- tab_joint_text (t, heading_columns, 1, heading_columns + 1, 1,
- 0, var_to_string (cmd->dep_var) );
-
- tab_joint_text (t, 1, 2, 2, 2,
- TAB_LEFT | TAT_TITLE, _("Observed"));
-
- tab_text (t, 1, 3, TAB_LEFT, var_to_string (cmd->dep_var) );
-
-
- tab_joint_text (t, nc - 1, 1, nc - 1, 2,
- TAB_CENTER | TAT_TITLE, _("Percentage\nCorrect"));
-
-
- tab_joint_text (t, 1, nr - 1, 2, nr - 1,
- TAB_LEFT | TAT_TITLE, _("Overall Percentage"));
-
-
- tab_hline (t, TAL_1, 1, nc - 1, nr - 1);
-
- var_append_value_name (cmd->dep_var, &res->y0, &sv0);
- var_append_value_name (cmd->dep_var, &res->y1, &sv1);
-
- tab_text (t, 2, heading_rows, TAB_LEFT, ds_cstr (&sv0));
- tab_text (t, 2, heading_rows + 1, TAB_LEFT, ds_cstr (&sv1));
-
- tab_text (t, heading_columns, 2, 0, ds_cstr (&sv0));
- tab_text (t, heading_columns + 1, 2, 0, ds_cstr (&sv1));
-
- ds_destroy (&sv0);
- ds_destroy (&sv1);
-
- tab_double (t, heading_columns, 3, 0, res->tn, wfmt);
- tab_double (t, heading_columns + 1, 4, 0, res->tp, wfmt);
-
- tab_double (t, heading_columns + 1, 3, 0, res->fp, wfmt);
- tab_double (t, heading_columns, 4, 0, res->fn, wfmt);
-
- tab_double (t, heading_columns + 2, 3, 0, 100 * res->tn / (res->tn + res->fp), 0);
- tab_double (t, heading_columns + 2, 4, 0, 100 * res->tp / (res->tp + res->fn), 0);
-
- tab_double (t, heading_columns + 2, 5, 0,
- 100 * (res->tp + res->tn) / (res->tp + res->tn + res->fp + res->fn), 0);