Catmandu::Fix::stat_median(3pm)

Catmandu::Fix::stat_median3pm

Calculate the median of an array

Usage

   # Calculate the median of foo. E.g. foo => [1,2,3,4]
   stat_median(foo)  # foo => '2.5'

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From libcatmandu-stat-perl 0.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.