pareto: Pareto distribution
Description
Pareto density distribution, quantile function and random generator.
Usage
dpareto(x, xm=1, alpha=1)
qpareto(p, xm=1, alpha=1)
rpareto(n, xm=1, alpha=1)
Arguments
xm
location parameter (mode of distribution)
n
number of samples to draw
Value
dparetoProbability density
qparetoQuantile at probability p (inverse cdf)
rparetoRandom value
Examples
Run this code# NOT RUN {
q <- qpareto(0.5);
# }
Run the code above in your browser using DataLab