rdstable | R Documentation |
Generates random variates from a discrete stable distribution DS(alpha,lambda)
.
rdstable(n, alpha, lambda = 1)
n |
number of random values to return. |
alpha |
tail index parameter |
lambda |
positive location parameter |
returns random variates from DS(alpha,lambda)
. A warning is displayed for invalid parameter values.
DEVROYE1993349dstabledist
rdstable(10,alpha=1,lambda=1) #this is Poisson
rdstable(10,alpha=0.5,lambda=1) # heavier tail more prone to extremes
rdstable(10,alpha=0.1,lambda=1) # heavier tail more prone to extremes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.