gomp: Distribution function of the Gompertz distribution

pgompR Documentation

Distribution function of the Gompertz distribution

Description

Distribution function of the Gompertz distribution

Quantile function of the Gompertz distribution

Density function of the Gompertz distribution

Hazard function of the Gompertz distribution

Usage

pgomp(q, scale = 1, shape = 0, lower.tail = TRUE, log.p = FALSE)

qgomp(p, scale = 1, shape = 0, lower.tail = TRUE)

dgomp(x, scale = 1, shape = 0, log = FALSE)

hgomp(x, scale = 1, shape = 0, log = FALSE)

Arguments

q

vector of quantiles.

scale

positive scale parameter

shape

non-negative shape parameter

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.

p

vector of probabilities.

x

vector of quantiles

log

logical; if TRUE, return the log hazard

Value

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

a vector of quantiles

a vector of (log)-density.

a vector of (log)-hazard.


longevity documentation built on Nov. 12, 2023, 5:07 p.m.