beard: Beard distribution

rbeardR Documentation

Beard distribution

Description

Distribution function, density, hazard, quantile function and random number generation for the Beard distribution

Usage

rbeard(n, rate, shape1, shape2)

pbeard(q, rate = 1, shape1 = 1, shape2 = 1, lower.tail = TRUE, log.p = FALSE)

dbeard(x, rate = 1, shape1 = 1, shape2 = 1, log = FALSE)

hbeard(x, rate = 1, shape1 = 1, shape2 = 1, log = FALSE)

qbeard(p, rate = 1, shape1 = 1, shape2 = 1, lower.tail = TRUE)

Arguments

n

sample size

rate

rate parameter (\nu)

shape1

shape parameter (\alpha)

shape2

shape parameter (\beta)

q

vector of quantiles.

lower.tail

logical; if TRUE (default), the lower tail probability \Pr(X \leq x) is returned.

log.p

logical; if FALSE (default), values are returned on the probability scale.

x

vector of quantiles.

log

logical; if FALSE (default), return the hazard

p

vector of probabilities.

Value

a vector of random variates

a vector of (log)-probabilities of the same length as q

a vector of (log)-density.

a vector of (log)-hazard.

a vector of quantiles


longevity documentation built on June 8, 2025, 10:31 a.m.