X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Freliability.q;h=478f5c5bc1baa06c967f980e6d2704587fe131bc;hb=dfd1972f7bcb550a4fc3b05dbe7e71d12334b0a7;hp=dfb81367912a3bcd96a25aa00bb964145a98f0ab;hpb=c9a3c45e44c1c03d13d4eb186e3817bc836f75f8;p=pspp-builds.git diff --git a/src/language/stats/reliability.q b/src/language/stats/reliability.q index dfb81367..478f5c5b 100644 --- a/src/language/stats/reliability.q +++ b/src/language/stats/reliability.q @@ -27,8 +27,8 @@ #include #include #include -#include -#include +#include +#include #include "xalloc.h" #include "xmalloca.h" @@ -379,18 +379,8 @@ run_reliability (struct casereader *input, struct dataset *ds, alpha (s->n_items, s->sum_of_variances, s->variance_of_sums); } - - { - struct tab_table *tab = tab_create(1, 1); - - tab_dim (tab, tab_natural_dimensions, NULL, NULL); - tab_flags (tab, SOMF_NO_TITLE ); - - tab_text_format (tab, 0, 0, 0, "Scale: %s", ds_cstr (&rel->scale_name)); - - tab_submit(tab); - } - + text_item_submit (text_item_create_format (TEXT_ITEM_PARAGRAPH, "Scale: %s", + ds_cstr (&rel->scale_name))); case_processing_summary (n_valid, n_missing, dataset_dict (ds)); } @@ -428,8 +418,6 @@ reliability_statistics (const struct reliability *rel) struct tab_table *tbl = tab_create (n_cols, n_rows); tab_headers (tbl, heading_columns, 0, heading_rows, 0); - tab_dim (tbl, tab_natural_dimensions, NULL, NULL); - tab_title (tbl, _("Reliability Statistics")); /* Vertical lines for the data only */ @@ -471,8 +459,6 @@ reliability_summary_total (const struct reliability *rel) struct tab_table *tbl = tab_create (n_cols, n_rows); tab_headers (tbl, heading_columns, 0, heading_rows, 0); - tab_dim (tbl, tab_natural_dimensions, NULL, NULL); - tab_title (tbl, _("Item-Total Statistics")); /* Vertical lines for the data only */ @@ -681,8 +667,6 @@ case_processing_summary (casenumber n_valid, casenumber n_missing, tbl = tab_create (n_cols, n_rows); tab_headers (tbl, heading_columns, 0, heading_rows, 0); - tab_dim (tbl, tab_natural_dimensions, NULL, NULL); - tab_title (tbl, _("Case Processing Summary")); /* Vertical lines for the data only */