|
median
|
The median function computes the median value (or middle value) from a set of
values in the argument list. The median value is that value which is greater than half of
the argument list and less than the other half. When to use The medianfunction is used to produce the median value from a set of values.
(median num1 num2 ...) The median function computes the median value from the arguments and returns it.
If an array or reference argument contains text, logical values, or empty cells, those
values are ignored if they cannot be evaluated as real numbers. If no numeric values
are found in the argument list, then an error code is generated.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
This example shows how the median function computes the median value
of a set of Integers and Numbers.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types num1 num2 ... One or more Numbers Number
Returns:
Examples
Argument Types
Number
Integer
How do I contact the AIS team?