mirror of https://github.com/msberends/AMR.git
44 lines
2.3 KiB
R
44 lines
2.3 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/kurtosis.R
|
|
\name{kurtosis}
|
|
\alias{kurtosis}
|
|
\alias{kurtosis.default}
|
|
\alias{kurtosis.matrix}
|
|
\alias{kurtosis.data.frame}
|
|
\title{Kurtosis of the sample}
|
|
\usage{
|
|
kurtosis(x, na.rm = FALSE, excess = FALSE)
|
|
|
|
\method{kurtosis}{default}(x, na.rm = FALSE, excess = FALSE)
|
|
|
|
\method{kurtosis}{matrix}(x, na.rm = FALSE, excess = FALSE)
|
|
|
|
\method{kurtosis}{data.frame}(x, na.rm = FALSE, excess = FALSE)
|
|
}
|
|
\arguments{
|
|
\item{x}{a vector of values, a \code{\link{matrix}} or a \link{data.frame}}
|
|
|
|
\item{na.rm}{a logical to indicate whether \code{NA} values should be stripped before the computation proceeds}
|
|
|
|
\item{excess}{a logical to indicate whether the \emph{excess kurtosis} should be returned, defined as the kurtosis minus 3.}
|
|
}
|
|
\description{
|
|
Kurtosis is a measure of the "tailedness" of the probability distribution of a real-valued random variable. A normal distribution has a kurtosis of 3 and a excess kurtosis of 0.
|
|
}
|
|
\section{Stable lifecycle}{
|
|
|
|
\if{html}{\figure{lifecycle_stable.svg}{options: style=margin-bottom:5px} \cr}
|
|
The \link[=lifecycle]{lifecycle} of this function is \strong{stable}. In a stable function, major changes are unlikely. This means that the unlying code will generally evolve by adding new arguments; removing arguments or changing the meaning of existing arguments will be avoided.
|
|
|
|
If the unlying code needs breaking changes, they will occur gradually. For example, a parameter will be deprecated and first continue to work, but will emit an message informing you of the change. Next, typically after at least one newly released version on CRAN, the message will be transformed to an error.
|
|
}
|
|
|
|
\section{Read more on our website!}{
|
|
|
|
On our website \url{https://msberends.github.io/AMR} you can find \href{https://msberends.github.io/AMR/articles/AMR.html}{a comprehensive tutorial} about how to conduct AMR analysis, the \href{https://msberends.github.io/AMR/reference}{complete documentation of all functions} (which reads a lot easier than here in R) and \href{https://msberends.github.io/AMR/articles/WHONET.html}{an example analysis using WHONET data}. As we would like to better understand the backgrounds and needs of our users, please \href{https://msberends.github.io/AMR/survey.html}{participate in our survey}!
|
|
}
|
|
|
|
\seealso{
|
|
\code{\link[=skewness]{skewness()}}
|
|
}
|