Darwin Help

Back to Index

median

Function median - median of numbers or list of numbers

Calling Sequence  median(L1,L2,...)
Parameters
NameTypeDescription

Li {numeric,list(numeric)}a number or list of numbers
Return Type  numeric
Synopsis Finds the median of all the values in the arguments.
Examples
> median(5, 97, 22 );
22
> median(2,3,5,7,11,13,17,19);
9
See also avg,   max,   min,   std,   var