rpareto | R Documentation |
This function simulates random numbers for a Pareto r.v.
rpareto(n, xmin, alpha)
n |
positive integer: number of simulated random numbers. |
xmin |
positive scalar: Pareto scale parameter. |
alpha |
non-negative scalar: Pareto shape parameter. |
n iid random numbers from the Pareto distribution.
ySim <- rpareto(5,4,1.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.