compareQuantile {cTRAP} | R Documentation |
Check which elements of the vector are lower/greater than or equal to the quantile of a given vector.
compareQuantile(vec, prob, lte = FALSE)
vec |
Numeric vector |
prob |
Numeric: probability value between [0,1] to produce sample quantiles |
lte |
Boolean: check if values are <= quantile? If |
Boolean vector regarding compared elements