skewness {timeDate} | R Documentation |
Functions to compute skewness.
skewness(x, ...) ## Default S3 method: skewness(x, na.rm = FALSE, method = c("moment", "fisher"), ...) ## S3 method for class 'data.frame' skewness(x, ...) ## S3 method for class 'POSIXct' skewness(x, ...) ## S3 method for class 'POSIXlt' skewness(x, ...)
na.rm |
a logical. Should missing values be removed? |
method |
a character string which specifies the method of computation.
These are either |
x |
a numeric vector or object. |
... |
arguments to be passed. |
skewness
returns the value of the statistics, a numeric value. An attribute which reports the used method is added.
link{kurtosis}
.
## mean - ## var - # Mean, Variance: r = rnorm(100) mean(r) var(r) ## skewness - skewness(r)