powered by
Calculates skewness coefficient for given variable (see is.variable), matrix or a data.frame.
is.variable
matrix
data.frame
skewness(x, na.rm = TRUE)
a variable, matrix or a data.frame
variable
should NAs be removed before computation?
NA
Tenjovic, L. (2000). Statistika u psihologiji - prirucnik. Centar za primenjenu psihologiju.
# NOT RUN { set.seed(0) x <- rnorm(100) skewness(x) skewness(matrix(x, 10)) skewness(mtcars) rm(x) # }
Run the code above in your browser using DataLab