R: Skewness

skewness {rapportools} | R Documentation

## Skewness

### Description

Calculates skewness coefficient for given variable (see `is.variable`), `matrix` or a `data.frame`.

### Usage

    skewness(x, na.rm = TRUE)

### Arguments

`x` | a `variable`, `matrix` or a `data.frame`
`na.rm` | should `NA`s be removed before computation?

### References

Tenjovic, L. (2000). Statistika u psihologiji - prirucnik. Centar za primenjenu psihologiju.

### Examples

    set.seed(0)
    x <- rnorm(100)
    skewness(x)
    skewness(matrix(x, 10))
    skewness(mtcars)
    rm(x)

[Package rapportools version 1.0 Index]