For a matrix x, the difference between the mean of the n lowest values and the mean of the n greatest values is calculated It is an auxiliary function for chooseOrness

diffMeanTail(x, n)

Arguments

x

Matrix

n

Number of values in each tail