powered by
Generates random deviates of a Pareto distribution
rPareto(n, t, alpha, truncation = NULL)
A vector of n samples from the (truncated) Pareto distribution with parameters t and alpha
n
t
alpha
Numeric. Number of observations.
Numeric vector. Thresholds of the Pareto distributions
Numeric vector. Pareto alphas of the Pareto distributions.
NULL or Numeric vector. If truncation is not NULL and truncation > t, then the Pareto distribution is truncated at truncation (resampled Pareto)
truncation
NULL
truncation > t
rPareto(100, 1000, 2) rPareto(100, 1000, 2, truncation = 2000) rPareto(100, t = c(1, 10, 100, 1000, 10000), alpha = c(1, 2, 4, 8, 16))
Run the code above in your browser using DataLab