Learn R Programming

phenofit (version 0.3.9)

kurtosis: skewness and kurtosis

Description

Inherit from package e1071

Usage

kurtosis(x, na.rm = FALSE, type = 3)

skewness(x, na.rm = FALSE, type = 3)

Arguments

x

a numeric vector containing the values whose skewness is to be computed.

na.rm

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

type

an integer between 1 and 3 selecting one of the algorithms for computing skewness.

Examples

Run this code
x = rnorm(100)
coef_kurtosis <- kurtosis(x)
coef_skewness <- skewness(x)

Run the code above in your browser using DataLab