Learn R Programming

liver (version 1.19)

skewness: Skewness

Description

Computes the skewness for each field.

Usage

skewness(x, na.rm = FALSE)

Value

A numeric vector of skewness values.

Arguments

x

a numerical vector, matrix or data.frame.

na.rm

a logical value indicating whether NA values in x should be stripped before the computation proceeds.

Author

Reza Mohammadi a.mohammadi@uva.nl and Kevin Burke kevin.burke@ul.ie

Examples

Run this code
x = c(2.3, -1.4, 0, 3.45)

skewness(x)

Run the code above in your browser using DataLab