Skew Normal Random Samples

ran_skewnorm(n = 1, mean = 0, sd = 1, shape = 0)

Arguments

n

A non-negative whole number of the number of random samples to generate.

mean

A numeric vector of the means.

sd

A non-negative numeric vector of the standard deviations.

shape

A numeric vector of shape.

Value

A numeric vector of the random samples.

Examples

ran_skewnorm(10, shape = -1)
#>  [1]  0.11936430 -1.81948010 -0.01721321 -0.05974912 -1.70476067  0.31490146
#>  [7] -1.29885804  1.23905522 -0.30342792 -1.06930140
ran_skewnorm(10, shape = 0)
#>  [1] -1.4548046 -0.9459458 -0.5276365 -0.5842034  1.3109933 -0.7331981
#>  [7] -0.6561117  0.3580544 -0.8619087 -1.5351427
ran_skewnorm(10, shape = 1)
#>  [1]  2.39736096 -1.00266181  0.92004442  1.86632248  0.08699982  1.31494070
#>  [7]  0.06584585  0.51923496  0.20778044  1.04784947