compareQuantile: Compare vector against its quantile

View source: R/plots.R

compareQuantileR Documentation

Compare vector against its quantile

Description

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

Usage

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


nuno-agostinho/cTRAP documentation built on March 28, 2024, 3:59 p.m.