- int i;
- const int row_headers = 1;
- const int column_headers = 2;
- const int nc = kst->parent.n_vars + column_headers;
- const int nr = 8 + row_headers;
- struct tab_table *table = tab_create (nc, nr);
-
- tab_headers (table, row_headers, 0, column_headers, 0);
-
- tab_title (table, _("One-Sample Kolmogorov-Smirnov Test"));
-
- /* Box around the table */
- tab_box (table, TAL_2, TAL_2, -1, -1,
- 0, 0, nc - 1, nr - 1 );
-
- tab_hline (table, TAL_2, 0, nc - 1, row_headers);
-
- tab_vline (table, TAL_1, column_headers, 0, nr - 1);
+ struct pivot_table *table = pivot_table_create (
+ N_("One-Sample Kolmogorov-Smirnov Test"));
+ pivot_table_set_weight_format (table, wfmt);