Description Usage Arguments Value Author(s) Examples
View source: R/plot_power_laws.R
Generate n power-law distributed discrete values.
1 | rnd_disc_pl(n, xmin = 2, gma = 2.5)
|
n |
integer; The number of values to generate. |
xmin |
numeric; Start of the power law behaviour. |
gma |
numeric; Exponent of the power law. |
A vector of n power-law distributed values.
Gregorio Alanis-Lobato galanisl@uni-mainz.de
1 2 | # Generate 10000 power-law distributed values
pl_disc <- rnd_disc_pl(10000, 2, 2.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.