Discrete Powerlaw Probability Mass Function

Share:

Description

Probability mass function for the discrete power law distribution with parameters xmin and alpha.

Usage

1
ddispl(x, xmin, alpha, log = FALSE)

Arguments

x

Vector of quantiles.

xmin

The lower bound of the powerlaw distribution.

alpha

The scaling parameter.

log

Logical, whether return log values. By default is set to FALSE.

Examples

1
2
x = rdispl(n = 1e4, xmin = 10, alpha = 2.5)
ddispl(x, xmin = 10, alpha = 2.5, log = FALSE)