BNPdensity (version 2023.3.8)

qhalfcauchy: Quantile function half Cauchy

Description

Computes the quantiles.

Usage

qhalfcauchy(p, location = 0, scale = 1)

Arguments

Details

For internal use

Examples

Run this code

## The function is currently defined as
function(p, location = 0, scale = 1) {
  qcauchy(p * (1 - pcauchy(0, location, scale)) + pcauchy(
    0,
    location, scale
  ), location, scale)
}

Run the code above in your browser using DataLab