This function is used to return median of dataset vd with interpolation method specified by method.
double Median(dataset vd[, int method = 0])
vd
method
0 (default) |
Empirical Distribution with Averaging |
---|---|
1 | Nearest Neighbor |
2 | Empirical Distribution |
3 | Weighted Average Right |
4 | Weighted Average Left |
5 | Tukey Hinges |
Return median of a dataset with specified interpolation method.
dd = median(col(A), 2); dd=; //Should return the median of column(A).