Learn R Programming

bgumbel (version 0.0.2.2)

pbgumbel: Bimodal Gumbel: Distribution Function

Description

Bimodal Gumbel: Distribution Function

Usage

pbgumbel(q, mu, sigma, delta, lower.tail = TRUE)

Arguments

q

Quantile.

mu

First location parameter.

sigma

Scale parameter.

delta

Second location parameter.

lower.tail

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

Value

Vector.

Examples

Run this code
# NOT RUN {
pbgumbel(0, mu = -2, sigma = 1, delta = -1)
integrate(dbgumbel, mu = -2, sigma = 1, delta = -1, lower = -Inf, upper = 0)
pbgumbel(0, mu = -2, sigma = 1, delta = -1, lower.tail = FALSE)
curve(pbgumbel(x, mu = -2, sigma = 1, delta = -1), xlim = c(-5, 10))
# }

Run the code above in your browser using DataLab