Skip to content

Commit

Permalink
Changed the display to more closely resemble what I'm using in the form.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Mar 15, 2012
1 parent 62a6fe9 commit ba1bdda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions henderson/results.pl
Expand Up @@ -134,13 +134,13 @@ =head1 NAME
sub spread_as_string($) {
my $data = shift;

return sprintf("%g (sd=%g, range=%g-%g, median=%g, IQR=%g-%g, n=%d)",
return sprintf("%g (sd=%g, range: %g-%g, quartiles: %g:%g:%g, n=%d)",
$data->mean,
$data->standard_deviation,
$data->min,
$data->max,
$data->median,
scalar($data->percentile(25)),
$data->median,
scalar($data->percentile(75)),
$data->count
);
Expand Down
4 changes: 2 additions & 2 deletions henderson/results_concat.pl
Expand Up @@ -100,13 +100,13 @@ =head1 SYNOPSIS
sub spread_as_string($) {
my $data = shift;

return sprintf("%g (sd=%g, range=%g-%g, median=%g, IQR=%g-%g, n=%d)",
return sprintf("%g (sd=%g, range: %g-%g, quartile: %g:%g:%g, n=%d)",
$data->mean,
$data->standard_deviation,
$data->min,
$data->max,
$data->median,
scalar($data->percentile(25)),
$data->median,
scalar($data->percentile(75)),
$data->count
);
Expand Down

0 comments on commit ba1bdda

Please sign in to comment.