A function that calculates the column-wise quantile of a matrix.
colQuantile(X, q)
X
matrix.
q
numeric: A number between 0 and 1.
numeric: The chosen quantile for each column of X.