compareQuantile: Compare vector against its quantile

Description Usage Arguments Value

View source: R/plots.R

Description

Check which elements of the vector are lower/greater than or equal to the quantile of a given vector.

Usage

1
compareQuantile(vec, prob, lte = FALSE)

Arguments

vec

Numeric vector

prob

Numeric: probability value between [0,1] to produce sample quantiles

lte

Boolean: check if values are <= quantile? If FALSE, checks if values are >= quantile

Value

Boolean vector regarding compared elements


cTRAP documentation built on Nov. 8, 2020, 10:58 p.m.