Calculate quantiles respecting the censored data
quantile_cens(
x,
probs = 0.5,
limit = 1,
cens = c("left", "right", "neither", "both")
)The quantile of x treating NA values as censored
numeric vector whose sample quantiles are wanted, or an
object of a class for which a method has been defined (see also
‘details’). NA and NaN values are not
allowed in numeric vectors unless na.rm is TRUE.
numeric vector of probabilities with values in \([0,1]\). (Values up to 2e-14 outside that range are accepted and moved to the nearby endpoint.)
censoring limit (ignored if cens="neither")
censoring direction