- int n_rows = 2;
-
- for (v = 0; v < cmd->n_vars; ++v)
- n_rows += ws->actual_number_of_groups + 1;
-
- t = tab_create (n_cols, n_rows);
- tab_set_format (t, RC_WEIGHT, wfmt);
- tab_headers (t, 2, 0, 2, 0);
-
- /* Put a frame around the entire box, and vertical lines inside */
- tab_box (t,
- TAL_2, TAL_2,
- -1, TAL_1,
- 0, 0,
- n_cols - 1, n_rows - 1);
-
- /* Underline headers */
- tab_hline (t, TAL_2, 0, n_cols - 1, 2);
- tab_vline (t, TAL_2, 2, 0, n_rows - 1);
-
- tab_text (t, 2, 1, TAB_CENTER | TAT_TITLE, _("N"));
- tab_text (t, 3, 1, TAB_CENTER | TAT_TITLE, _("Mean"));
- tab_text (t, 4, 1, TAB_CENTER | TAT_TITLE, _("Std. Deviation"));
- tab_text (t, 5, 1, TAB_CENTER | TAT_TITLE, _("Std. Error"));
-
-
- tab_vline (t, TAL_0, 7, 0, 0);
- tab_hline (t, TAL_1, 6, 7, 1);
- tab_joint_text_format (t, 6, 0, 7, 0, TAB_CENTER | TAT_TITLE,
- _("%g%% Confidence Interval for Mean"),
- confidence*100.0);
-
- tab_text (t, 6, 1, TAB_CENTER | TAT_TITLE, _("Lower Bound"));
- tab_text (t, 7, 1, TAB_CENTER | TAT_TITLE, _("Upper Bound"));
-
- tab_text (t, 8, 1, TAB_CENTER | TAT_TITLE, _("Minimum"));
- tab_text (t, 9, 1, TAB_CENTER | TAT_TITLE, _("Maximum"));