Catmandu::Fix::stat_mean - calculate the median of an array
# Calculate the median of foo. E.g. foo => [1,2,3,4] stat_median(foo) # foo => '2.5'
Catmandu::Fix
To install Catmandu::Stat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::Stat
CPAN shell
perl -MCPAN -e shell install Catmandu::Stat
For more information on module installation, please visit the detailed CPAN module installation guide.