phalfcauchy: Distribution function half Cauchy

View source: R/phalfcauchy.R

phalfcauchyR Documentation

Distribution function half Cauchy

Description

Computes the cdf.

Usage

phalfcauchy(q, location = 0, scale = 1)

Details

For internal use

Examples


## The function is currently defined as
function(q, location = 0, scale = 1) {
  ifelse(x < 0, 0, 1) * (pcauchy(q, location, scale) - pcauchy(
    0,
    location, scale
  )) / (1 - pcauchy(0, location, scale))
}

BNPdensity documentation built on April 1, 2023, 12:10 a.m.