dhalfcauchy function

Density half Cauchy

Density half Cauchy

Computes the density.

dhalfcauchy(x, location = 0, scale = 1)

Details

For internal use

Examples

## The function is currently defined as function(x, location = 0, scale = 1) { ifelse(x < 0, 0, 1) * dcauchy(x, location, scale) / (1 - pcauchy( 0, location, scale )) }
  • Maintainer: Guillaume Kon Kam King
  • License: GPL (>= 2)
  • Last published: 2023-03-24

Useful links