X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Ffactor.c;fp=src%2Flanguage%2Fstats%2Ffactor.c;h=b035fc8d8af1a9be69e1fabefadf9164dea6ed53;hb=8b71948cd57dbd2787cb4c50525b957e9be8a62b;hp=9d3d944e8fd1ae7d929e17e5127640af45a5f375;hpb=1085f5128713881e135ea83fbdf411b99e8f32b6;p=pspp-builds.git diff --git a/src/language/stats/factor.c b/src/language/stats/factor.c index 9d3d944e..b035fc8d 100644 --- a/src/language/stats/factor.c +++ b/src/language/stats/factor.c @@ -934,11 +934,11 @@ show_communalities (const struct cmd_factor * factor, if (nc <= 1) return; - t = tab_create (nc, nr, 0); + t = tab_create (nc, nr); tab_title (t, _("Communalities")); - tab_dim (t, tab_natural_dimensions, NULL); + tab_dim (t, tab_natural_dimensions, NULL, NULL); tab_headers (t, heading_columns, 0, heading_rows, 0); @@ -994,14 +994,14 @@ show_factor_matrix (const struct cmd_factor *factor, struct idata *idata, const const int nc = heading_columns + n_factors; gsl_permutation *perm; - struct tab_table *t = tab_create (nc, nr, 0); + struct tab_table *t = tab_create (nc, nr); if ( factor->extraction == EXTRACTION_PC ) tab_title (t, _("Component Matrix")); else tab_title (t, _("Factor Matrix")); - tab_dim (t, tab_natural_dimensions, NULL); + tab_dim (t, tab_natural_dimensions, NULL, NULL); tab_headers (t, heading_columns, 0, heading_rows, 0); @@ -1106,11 +1106,11 @@ show_explained_variance (const struct cmd_factor * factor, struct idata *idata, if ( nc <= heading_columns) return; - t = tab_create (nc, nr, 0); + t = tab_create (nc, nr); tab_title (t, _("Total Variance Explained")); - tab_dim (t, tab_natural_dimensions, NULL); + tab_dim (t, tab_natural_dimensions, NULL, NULL); tab_headers (t, heading_columns, 0, heading_rows, 0); @@ -1258,11 +1258,11 @@ show_correlation_matrix (const struct cmd_factor *factor, const struct idata *id if (nr <= heading_rows && suffix_rows == 0) return; - t = tab_create (nc, nr + suffix_rows, 0); + t = tab_create (nc, nr + suffix_rows); tab_title (t, _("Correlation Matrix")); - tab_dim (t, tab_natural_dimensions, NULL); + tab_dim (t, tab_natural_dimensions, NULL, NULL); tab_hline (t, TAL_1, 0, nc - 1, heading_rows); @@ -1403,9 +1403,9 @@ do_factor (const struct cmd_factor *factor, struct casereader *r) const int nr = heading_rows + factor->n_vars; - struct tab_table *t = tab_create (nc, nr, 0); + struct tab_table *t = tab_create (nc, nr); tab_title (t, _("Descriptive Statistics")); - tab_dim (t, tab_natural_dimensions, NULL); + tab_dim (t, tab_natural_dimensions, NULL, NULL); tab_headers (t, heading_columns, 0, heading_rows, 0);