Learn R Programming

sbpiper (version 1.9.0)

skewness: Calculate the skewness of a numeric vector

Description

Calculate the skewness of a numeric vector

Usage

skewness(x, na.rm = FALSE)

Arguments

x

the numeric vector

na.rm

TRUE if NA values should be discarded

Value

the skewness

Examples

Run this code
# NOT RUN {
skewness(x=c(1,2.4,5,NA), na.rm=TRUE)
# }

Run the code above in your browser using DataLab