Learn R Programming

psych (version 1.0-33)

kurtosi: Kurtosis of a vector, matrix, or data frame

Description

Find the kurtosis of a vector, matrix, or dataframe.

Usage

kurtosi(x, na.rm = TRUE)

Arguments

x
vector, matrix, or data frame
na.rm
na.rm =TRUE removes missing data from the column

Value

  • kurtosia vector of the kurtosis for each column of the matrix

Details

Kurtosis in the E1071 package finds the kurtosis for a single vector. This does it for matrices and dataframes. Used in the describe function.

See Also

skew, describe

Examples

Run this code
round(kurtosi(attitude),2)

Run the code above in your browser using DataLab