Learn R Programming

VGAMdata (version 1.1-12)

Bell: The Bell Distribution

Description

Density, and random generation for the Topp-Leone distribution.

Usage

dbell(x, shape, log = FALSE)
rbell(n, shape)

Value

dbell gives the density,

rbell generates random deviates. If shape is large then rbell will become computationally expensive.

Arguments

x, n

Same as Uniform.

shape

the (shape) parameter, which is positive.

log

Logical. If log = TRUE then the logarithm of the density is returned.

Details

See bellff, the VGAM family function for estimating the parameter \(s\) by maximum likelihood estimation.

See Also

bell.

Examples

Run this code
if (FALSE) plot(0:15, dbell(0:15, shape = 1.5), type = "h", col = "blue")

Run the code above in your browser using DataLab