Description Usage Arguments Value Examples
This function is able to generate random Pareto distributed data with
the specified shape
and scale
parameters. The function
has been written to be similar in type to the popular runif and rexp type
of functions for generating data from a particular distribution.
1 | generate_pareto(sample_size, shape, scale)
|
sample_size |
number of observations |
shape |
shape parameter |
scale |
scale parameter |
Vector of Pareto distributed data of sample size sample_size
with shape parameter shape
and scale parameter scale
.
1 2 | generate_pareto(10000, 5, 2)
generate_pareto(100, 15, 6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.