Any NA values are stripped from x before computation
takes place. With \(n\) non-missing observations, sample standard
deviation \(s\), \(m_k = \sum ((x_i - \bar{x}) / s)^k\) and
$$G_2 = \frac{n (n + 1)}{(n - 1)(n - 2)(n - 3)} m_4 -
\frac{3 (n - 1)^2}{(n - 2)(n - 3)},$$
this is the excess kurtosis. It matches
e1071::kurtosis(x, type = 2) and the SAS/SPSS definition.