rPareto | R Documentation |
Generates random deviates of a Pareto distribution
rPareto(n, t, alpha, truncation = NULL)
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 |
A vector of n
samples from the (truncated) Pareto distribution with parameters t
and alpha
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.