Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pareto

Pareto Distribution


Description

Probability density, cumulative distribution, inverse cumulative distribution, random sample and starting values functions.

Usage

dpareto(x, scale = 1, shape = 1, log = FALSE)

qpareto(p, scale = 1, shape = 1, lower.tail = TRUE, log.p = FALSE)

ppareto(q, scale = 1, shape = 1, lower.tail = TRUE, log.p = FALSE)

rpareto(n, scale = 1, shape = 1)

spareto(x)

Arguments

x

A numeric vector of values.

scale

scale parameter.

shape

A string of the column in data for the shape aesthetic.

log

logical; if TRUE, probabilities p are given as log(p).

p

vector of probabilities.

lower.tail

logical; if TRUE (default), probabilities are P[X <= x],otherwise, P[X > x].

log.p

logical; if TRUE, probabilities p are given as log(p).

q

vector of quantiles.

n

number of observations.

Details

The pareto distribution has been deprecated as it is not suitable for SSD data. The functions are wrappers on the equivalent VGAM functions.

Value

A numeric vector.

See Also

Examples

x <- seq(0.01, 5, by = 0.01)
plot(x, dpareto(x), type = "l")

ssdtools

Species Sensitivity Distributions

v0.3.3
Apache License (== 2.0) | file LICENSE
Authors
Joe Thorley [aut, cre, ctr] (<https://orcid.org/0000-0002-7683-4592>), Carl Schwarz [aut, ctr], Angeline Tillmanns [ctb], Ali Azizishirazi [ctb], Rebecca Fisher [ctb], David Fox [ctb], Kathleen McTavish [ctb], Heather Thompson [ctb], Andy Teucher [ctb], Emilie Doussantousse [ctb], Stephanie Hazlitt [ctb], Nadine Hussein [ctb], Nan-Hung Hsieh [ctb], Sergio Ibarra Espinosa [ctb], Province of British Columbia [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.