132 |
|
|
133 |
|
|
134 |
void box_plot_variables(const struct factor *fctr, |
void box_plot_variables(const struct factor *fctr, |
135 |
struct variable **vars, int n_vars, |
const struct variable **vars, int n_vars, |
136 |
const struct variable *id |
const struct variable *id |
137 |
); |
); |
138 |
|
|
211 |
multipass_procedure_with_splits (run_examine, &cmd); |
multipass_procedure_with_splits (run_examine, &cmd); |
212 |
|
|
213 |
if ( totals ) |
if ( totals ) |
214 |
free(totals); |
free( totals ); |
215 |
|
|
216 |
|
if ( dependent_vars ) |
217 |
|
free (dependent_vars); |
218 |
|
|
219 |
subc_list_double_destroy(&percentile_list); |
subc_list_double_destroy(&percentile_list); |
220 |
|
|
488 |
assert(n_dependent_vars); |
assert(n_dependent_vars); |
489 |
|
|
490 |
totals = xmalloc( sizeof(struct metrics) * n_dependent_vars); |
totals = xmalloc( sizeof(struct metrics) * n_dependent_vars); |
491 |
|
memset ( totals, 0, sizeof(struct metrics) * n_dependent_vars); |
492 |
|
|
493 |
if ( lex_match(T_BY)) |
if ( lex_match(T_BY)) |
494 |
{ |
{ |
790 |
|
|
791 |
output_examine(); |
output_examine(); |
792 |
|
|
793 |
for ( v = 0 ; v < n_dependent_vars ; ++v ) |
|
794 |
hsh_destroy(totals[v].ordered_data); |
if ( totals ) |
795 |
|
{ |
796 |
|
int i; |
797 |
|
for ( i = 0 ; i < n_dependent_vars ; ++i ) |
798 |
|
metrics_destroy(&totals[i]); |
799 |
|
} |
800 |
|
|
801 |
} |
} |
802 |
|
|
1632 |
|
|
1633 |
void |
void |
1634 |
box_plot_variables(const struct factor *fctr, |
box_plot_variables(const struct factor *fctr, |
1635 |
struct variable **vars, int n_vars, |
const struct variable **vars, int n_vars, |
1636 |
const struct variable *id) |
const struct variable *id) |
1637 |
{ |
{ |
1638 |
|
|
1696 |
box_plot_group(const struct factor *fctr, |
box_plot_group(const struct factor *fctr, |
1697 |
const struct variable **vars, |
const struct variable **vars, |
1698 |
int n_vars, |
int n_vars, |
1699 |
const struct variable *id) |
const struct variable *id UNUSED) |
1700 |
{ |
{ |
1701 |
|
|
1702 |
int i; |
int i; |