Learn R Programming

ssdtools (version 0.1.0)

lgumbel: Log-Gumbel Distribution

Description

Density, distribution function, quantile function, random generation and starting values for the Log-Gumbel distribution with lscale and llocation parameters.

Usage

dlgumbel(x, llocation = 0, lscale = 0, log = FALSE)

qlgumbel(p, llocation = 0, lscale = 0, lower.tail = TRUE, log.p = FALSE)

plgumbel(q, llocation = 0, lscale = 0, lower.tail = TRUE, log.p = FALSE)

rlgumbel(n, llocation = 0, lscale = 0)

slgumbel(x)

Arguments

x

A numeric vector of values.

llocation

location parameter on the log scale.

lscale

scale parameter on the log scale.

log

logical; if TRUE, probabilities p are given as log(p).

p

vector of probabilities.

lower.tail

logical; if TRUE (default), probabilities are P[X <= x],otherwise, P[X > x].

log.p

logical; if TRUE, probabilities p are given as log(p).

q

vector of quantiles.

n

number of observations.

Value

A numeric vector.