GBeta: Generalized Beta distribution

Description Usage Arguments References Examples

Description

Density, distribution function, quantile function, and random generation for the generalized Beta distribution.

Usage

1
2
3
4
5
6
7
dgbeta(u, c, d, kappa, tau, log = FALSE)

pgbeta(q, c, d, kappa, tau)

rgbeta(n, c, d, kappa, tau, method = "mixture")

qgbeta(p, c, d, kappa, tau)

Arguments

u

numeric vector

c, d, kappa, tau

parameters; they must be strictly positive numbers, except kappa which can take any value

log

logical, whether to return the log-density

q

numeric vector of quantiles

n

positive integer, the desired number of simulations

method

the method of random generation, "mixture" or "arou"; only a positive kappa is allowed for the "mixture" method, but this method is faster

p

numeric vector of probabilities

References

Examples

1
2
3
library(gbeta)
curve(dgbeta(x, 4, 12, 10, 0.01), axes = FALSE, lwd = 2)
axis(1)

gbeta documentation built on Nov. 19, 2020, 9:07 a.m.