Learn R Programming

BNPdensity (version 2020.3.4)

phalfcauchy: Distribution function half Cauchy

Description

Computes the cdf.

Usage

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

Arguments

Details

For internal use

Examples

Run this code
# NOT RUN {
## 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))
}
# }

Run the code above in your browser using DataLab