Computes empirical weighted cdf. Modified from ecdf

wecdf(x, w = rep(1, length(x)))

Arguments

x

vector of values

w

vector with length(w)=length(x) of weights

Value

Returns list of tables of sizes of the connected components above thr.