Learn R Programming

staTools (version 0.1.0)

pdispl: Discrete Powerlaw Distribution Function

Description

Complementary cumulative distribution function for the discrete power law distribution with parameters xmin and alpha.

Usage

pdispl(q, xmin, alpha, lower.tail = TRUE)

Arguments

q
Vector of quantiles.
xmin
The lower bound of the powerlaw distribution.
alpha
The scaling parameter.
lower.tail
Logical, whether is returned the cumulative distribution function insted of the complementary cumulative distribution function. By default is set to TRUE.

Examples

Run this code
x = rdispl(n = 1e4, xmin = 10, alpha = 2.5)
pdispl(x, xmin = 10, alpha = 2.5, lower.tail = TRUE)

Run the code above in your browser using DataLab