kurtosis | R Documentation |
Inherit from package e1071
kurtosis(x, na.rm = FALSE, type = 3)
skewness(x, na.rm = FALSE, type = 3)
x |
a numeric vector containing the values whose skewness is to be computed. |
na.rm |
a logical value indicating whether NA values should be stripped before the computation proceeds. |
type |
an integer between 1 and 3 selecting one of the algorithms for computing skewness. |
x = rnorm(100)
coef_kurtosis <- kurtosis(x)
coef_skewness <- skewness(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.