Learn R Programming

agricolae (version 1.3-7)

kurtosis: Finding the Kurtosis coefficient

Description

It obtains the value of the kurtosis for a normally distributed variable. The result is similar to SAS.

Usage

kurtosis(x)

Value

x

The kurtosis of x

Arguments

x

a numeric vector

See Also

skewness

Examples

Run this code
library(agricolae)
x<-c(3,4,5,2,3,4,5,6,4,NA,7)
kurtosis(x)
# value is -0.1517996

Run the code above in your browser using DataLab