X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fruns.c;h=f5eec1e89ef327675d34ddacdb6513ca76815058;hb=1e0e76eaeb51ef0c15fdcfc4bd12d9310c16a88b;hp=788aae0d13f107d26f769a9068c646e17b27732f;hpb=1133aae2eb44a012939a95613bf5cd1698f5b5e9;p=pspp diff --git a/src/language/stats/runs.c b/src/language/stats/runs.c index 788aae0d13..f5eec1e89e 100644 --- a/src/language/stats/runs.c +++ b/src/language/stats/runs.c @@ -318,6 +318,7 @@ show_runs_result (const struct runs_test *rt, const struct run_state *rs, const const int column_headers = 1; struct tab_table *table = tab_create (row_headers + otp->n_vars, column_headers + 7); + tab_set_format (table, RC_WEIGHT, wfmt); tab_headers (table, row_headers, 0, column_headers, 0); @@ -341,25 +342,25 @@ show_runs_result (const struct runs_test *rt, const struct run_state *rs, const var_to_string (otp->vars[i])); tab_double (table, row_headers +i, 1, 0, - run->cutpoint, 0); + run->cutpoint, NULL, RC_OTHER); tab_double (table, row_headers +i, 2, 0, - run->nn, wfmt); + run->nn, NULL, RC_WEIGHT); tab_double (table, row_headers +i, 3, 0, - run->np, wfmt); + run->np, NULL, RC_WEIGHT); tab_double (table, row_headers +i, 4, 0, - run->n, wfmt); + run->n, NULL, RC_WEIGHT); tab_double (table, row_headers +i, 5, 0, - run->runs, &F_8_0); + run->runs, NULL, RC_INTEGER); tab_double (table, row_headers +i, 6, 0, - z, 0); + z, NULL, RC_OTHER); tab_double (table, row_headers +i, 7, 0, - 2.0 * gsl_cdf_ugaussian_P (z), 0); + 2.0 * gsl_cdf_ugaussian_P (z), NULL, RC_PVALUE); } switch ( rt->cp_mode)