weighted quartiles
q = weighted_quartiles(v,n)
vector of real numbers
vector of positive real numbers
vector of two real numbers
quartiles_ponderes(v)
returns the first
and third quartiles of the components of the vector v
weighted by the vector of numbers
n
with v
and n
of the same dimension and n
is a vector of positive real numbers or zeros but not all zeros.
The components of the vector v
do not have to be arranged (sorted) in increasing order.