ct_median.Rd
Computes the median value of the values of a vector.
ct_median(x)
A numeric vector.
A number. First sorts the vector's values in ascending order. Then, if the length of the vector (=n) is divisible by 2, then the median will be computed as the mean(X_n/2, X_n/2+1). Otherwise, if the length of the vector (=n) is NOT div by 2, then the median will be computed as X_n/2+1=X_as.integer(n/2+1).