skewness | R Documentation |
This function calculates the skewness of a habitual intake distribution. It handles gamma and log-normal distributions.
skewness(shape = NULL, rate = NULL, meanlog, sdlog = NULL)
shape |
Shape parameter for gamma distribution |
rate |
Rate parameter for gamma distribution |
meanlog |
Mean parameter for gamma distribution |
sdlog |
Standard deviation parameter for gamma distribution |
The skewness of the distribution
skewness(shape=1, rate=0.5)
skewness(meanlog=3, sdlog=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.