quantile_ci: Computing Quantiles for a given Numeric Vector

View source: R/swash.R

quantile_ciR Documentation

Computing Quantiles for a given Numeric Vector

Description

Computes quantiles for a given vector x and the related confidence intervals (lower, upper).

Usage

quantile_ci(
  x, 
  alpha = 0.05
  )

Arguments

x

A numeric vector

alpha

Significance level \alpha for 1-\alpha*100 confidence intervals

Details

Helper function for plot(sbm_ci), but may be used separately.

Value

A numeric vector with lower and upper quantile

Author(s)

Thomas Wieland

Examples

numeric_vector <- c(1,9,5,6,3,10,20,6,9,14,3,5,8,6,11)
# any numeric vector

quantile_ci(numeric_vector)

swash documentation built on April 12, 2025, 2:23 a.m.