612 |
|
|
613 |
while ( fctr) |
while ( fctr) |
614 |
{ |
{ |
615 |
|
struct factor_statistics **foo ; |
616 |
union value indep_vals[2] ; |
union value indep_vals[2] ; |
617 |
|
|
618 |
indep_vals[0] = * case_data(c, fctr->indep_var[0]->fv); |
indep_vals[0] = * case_data(c, fctr->indep_var[0]->fv); |
624 |
|
|
625 |
assert(fctr->fstats); |
assert(fctr->fstats); |
626 |
|
|
627 |
struct factor_statistics **foo = ( struct factor_statistics ** ) |
foo = ( struct factor_statistics ** ) |
628 |
hsh_probe(fctr->fstats, (void *) &indep_vals); |
hsh_probe(fctr->fstats, (void *) &indep_vals); |
629 |
|
|
630 |
if ( !*foo ) |
if ( !*foo ) |
1509 |
|
|
1510 |
tab_text (tbl, col, |
tab_text (tbl, col, |
1511 |
row + 3, |
row + 3, |
1512 |
TAB_LEFT | TAT_TITLE, |
TAB_LEFT | TAT_TITLE | TAT_PRINTF, |
1513 |
_("5% Trimmed Mean")); |
_("5%% Trimmed Mean")); |
1514 |
|
|
1515 |
tab_float (tbl, col + 2, |
tab_float (tbl, col + 2, |
1516 |
row + 3, |
row + 3, |
1690 |
{ |
{ |
1691 |
double y_min = DBL_MAX; |
double y_min = DBL_MAX; |
1692 |
double y_max = -DBL_MAX; |
double y_max = -DBL_MAX; |
1693 |
struct chart *ch; |
struct chart *ch = chart_create(); |
|
|
|
|
ch = chart_create(); |
|
|
|
|
1694 |
const char *s = factor_to_string(fctr, *fs, 0 ); |
const char *s = factor_to_string(fctr, *fs, 0 ); |
1695 |
|
|
1696 |
chart_write_title(ch, s); |
chart_write_title(ch, s); |
1854 |
{ |
{ |
1855 |
/* We have to cache the detrended data, beacause we need to |
/* We have to cache the detrended data, beacause we need to |
1856 |
find its limits before we can plot it */ |
find its limits before we can plot it */ |
1857 |
double *d_data; |
double *d_data = xmalloc (m->n_data * sizeof(double)); |
|
d_data = xmalloc (m->n_data * sizeof(double)); |
|
1858 |
double d_max = -DBL_MAX; |
double d_max = -DBL_MAX; |
1859 |
double d_min = DBL_MAX; |
double d_min = DBL_MAX; |
1860 |
for ( i = 0 ; i < m->n_data; ++i ) |
for ( i = 0 ; i < m->n_data; ++i ) |