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)

staTools documentation built on May 2, 2019, 2:17 a.m.

Related to ddispl in staTools...