Description Usage Arguments Examples
View source: R/rpareto_tails.R
Random generation for the Pareto distribution, centered around a mean of one, with parameter 'shape'.
1 2 3 4 5 6 7 8 9 |
n |
sample size. |
shape |
shape parameter. Default is shape = 2. |
bias_correct |
logical. Should we bias correct. The mean to use for bias correction can only be calculated when 'shape > 1'. |
sample_bias_correct |
logical. Should we bias correct using the sample mean. Defaults to 'FALSE'.If 'bias_correct = TRUE' then this parameter is ignored (i.e. equals 'FALSE'). |
ac |
auto-correlation value, between -1 and 1. If 'ac != 0' autocorrelation is incorporated in the vector using an AR(1) process. |
log |
logical. Whether to return the log-transformed distribution. |
seed |
seed. Numeric for 'set.seed()'. Defaults to NA where no seed is set. |
1 2 | rpt <- rpareto_tails(50, 3)
plot_tails(rpt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.