View source: R/ci_skew_and_kurtosis.R

kurtosis | R Documentation |

Defined as the ratio of the 4th central moment and the squared second central moment. Under perfect normality, the kurtosis equals 3. Put differently, we do not show "excess kurtosis" but rather kurtosis.

```
kurtosis(z, na.rm = TRUE)
```

`z` |
A numeric vector. |

`na.rm` |
Logical flag indicating whether to remove missing values or not.
Default is |

Numeric vector of length 1.

`moment()`

, `skewness()`

```
kurtosis(1:10)
kurtosis(rnorm(1000))
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.