- int row = 0;
- const struct fmt_spec *wfmt = dict_get_weight_format (fr->dict);
-
- const int row_headers = 1;
- const int column_headers = 0;
- struct tab_table *table =
- tab_create (row_headers + 1, column_headers + (ft->kendalls_w ? 5 : 4));
- tab_set_format (table, RC_WEIGHT, wfmt);
-
- tab_headers (table, row_headers, 0, column_headers, 0);
-
- tab_title (table, _("Test Statistics"));
-
- tab_text (table, 0, column_headers + row++,
- TAT_TITLE | TAB_LEFT , _("N"));
-
- if ( ft->kendalls_w)
- tab_text (table, 0, column_headers + row++,
- TAT_TITLE | TAB_LEFT , _("Kendall's W"));
-
- tab_text (table, 0, column_headers + row++,
- TAT_TITLE | TAB_LEFT , _("Chi-Square"));
-
- tab_text (table, 0, column_headers + row++,
- TAT_TITLE | TAB_LEFT, _("df"));
-
- tab_text (table, 0, column_headers + row++,
- TAT_TITLE | TAB_LEFT, _("Asymp. Sig."));
-
- /* Box around the table */
- tab_box (table, TAL_2, TAL_2, -1, -1,
- 0, 0, tab_nc (table) - 1, tab_nr (table) - 1 );
-
-
- tab_hline (table, TAL_2, 0, tab_nc (table) -1, column_headers);
- tab_vline (table, TAL_2, row_headers, 0, tab_nr (table) - 1);
-
- row = 0;
- tab_double (table, 1, column_headers + row++,
- 0, fr->cc, NULL, RC_WEIGHT);