rnonnorm | R Documentation |
Generating Non-normal data with specified skewness and kurtosis using Fleishman's Method
rnonnorm(n, mean = 0, sd = 1, skew = 0, kurt = 0)
n |
number of observations |
mean |
mean |
sd |
standard deviation |
skew |
skewness |
kurt |
kurtosis |
This function can be used to generate non-normal data with specified skewness and kurtosis using Fleishman's Power Method.
A list of two objects: non-normal data is 'dat'; and the other is the Fleishman Coeffficients used to generate the distributions.
fleishman1978methoddetectnorm
set.seed(341031) exdat <- rnonnorm(n = 100, mean = 1, sd = 2, skew = 3, kurt = 2)$dat hist(exdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.