rPareto {Pareto} | R Documentation |
Simulation of the Pareto Distribution
Description
Generates random deviates of a Pareto distribution
Usage
rPareto(n, t, alpha, truncation = NULL)
Arguments
n |
Numeric. Number of observations. |
t |
Numeric vector. Thresholds of the Pareto distributions |
alpha |
Numeric vector. Pareto alphas of the Pareto distributions. |
truncation |
NULL or Numeric vector. If |
Value
A vector of n
samples from the (truncated) Pareto distribution with parameters t
and alpha
Examples
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))
[Package Pareto version 2.4.5 Index]