ddispl: Discrete Powerlaw Probability Mass Function

Description Usage Arguments Examples

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)


Search within the staTools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.