
skewness(x, na.rm = FALSE, method = c("moment", "fisher"), ...)
"moment"
or "fisher"
The "moment"
method is based on the definitions of
skewnessfor distributions; these forms shskewness
returns the value of the statistics, a numeric value. An
attribute which reports the used method is added.checkData
kurtosis
.## mean -
## var -
# Mean, Variance:
r = rnorm(100)
mean(r)
var(r)
## skewness -
skewness(r)
Run the code above in your browser using DataLab