Skip to contents

Bounded power law probability density function

Usage

dparetocounts(x, lambda, xmin, xmax)

Arguments

x

body size value

lambda

vector of lambda (the power law exponent)

xmin

xmin: the minimum body size of the sample or the minimum possible body size

xmax

xmax: the maximum body size of the sample or the maximum possible body size

Value

a numeric vector of the value of the pdf given values of x, lambda, xmin, and xmax.

Examples

dparetocounts(x = 2, lambda = -2, xmin = 1, xmax = 1000)
#> [1] 0.5005005