Learn R Programming

distributional (version 0.5.0)

dist_pareto: The Pareto distribution

Description

[Stable]

Usage

dist_pareto(shape, scale)

Arguments

shape, scale

parameters. Must be strictly positive.

See Also

actuar::Pareto

Examples

Run this code
dist <- dist_pareto(shape = c(10, 3, 2, 1), scale = rep(1, 4))
dist

if (FALSE) { # requireNamespace("actuar", quietly = TRUE)
mean(dist)
variance(dist)
support(dist)
generate(dist, 10)

density(dist, 2)
density(dist, 2, log = TRUE)

cdf(dist, 4)

quantile(dist, 0.7)
}

Run the code above in your browser using DataLab