Learn R Programming

bayou (version 2.1.1)

dhalfcauchy: Half cauchy distribution taken from the R package LaplacesDemon (Hall, 2012).

Description

dhalfcauchy returns the probability density for a half-Cauchy distribution

Usage

dhalfcauchy(x, scale = 25, log = FALSE)

phalfcauchy(q, scale = 25)

qhalfcauchy(p, scale = 25)

rhalfcauchy(n, scale = 25)

Arguments

x

A parameter value for which the density should be calculated

scale

The scale parameter of the half-Cauchy distributoin

log

A logical indicating whether the log density should be returned

q

A vector of quantiles

p

A vector of probabilities

n

The number of observations