| Library: | xplore |
| See also: | quantile sort fivenum |
| Macro: | median | |
| Description: | Computes the empirical medians of a given array. |
| Usage: | s = median (x) | |
| Input: | ||
| x | array | |
| Output: | ||
| med | for each column in x the empirical medians | |
library("xplore")
randomize (0)
x = normal (200, 2, 2)
median (x)
Contents of med [,,1,1,1,1,1,1] [1,] -0.063414 -0.040036 [,,2,1,1,1,1,1] [1,] 0.062863 0.19609
| Library: | xplore |
| See also: | quantile sort fivenum |