pdispl: Discrete Powerlaw Distribution Function

Description Usage Arguments Examples

View source: R/pdispl.R

Description

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

Usage

1
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

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

staTools documentation built on May 29, 2017, 3:36 p.m.

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