\HeaderA{skewness}{Skewness}{skewness}
\keyword{univar}{skewness}
\begin{Description}\relax
compute skewness of a univariate distribution.
\end{Description}
\begin{Usage}
\begin{verbatim}
skewness(x, na.rm = FALSE, method = c("moment", "fisher"), ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{na.rm}] a logical. Should missing values be removed?

\item[\code{method}] a character string which specifies the method of computation.
These are either \code{"moment"} or \code{"fisher"}
The \code{"moment"} method is based on the definitions of
skewnessfor distributions; these forms should
be used when resampling (bootstrap or jackknife). The
\code{"fisher"} method correspond to the usual "unbiased"
definition of sample variance, although in the case of skewness
exact unbiasedness is not possible.

\item[\code{x}] a numeric vector or object.

\item[\code{...}] arguments to be passed.

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This function was ported from the RMetrics package fUtilities to eliminate a dependency on fUtiltiies being loaded every
time.  The function is identical except for the addition of \code{\LinkA{checkData}{checkData} and column support.}
\end{Details}
\begin{Value}
\code{skewness}\\
\\

returns the value of the statistics, a numeric value. An
attribute which reports the used method is added.
\end{Value}
\begin{Author}\relax
Diethelm Wuertz
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{kurtosis}{kurtosis}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## mean -
## var -
   # Mean, Variance:
   r = rnorm(100)
   mean(r)
   var(r)

## skewness -
   skewness(r)
data(managers)
skewness(managers)
\end{ExampleCode}
\end{Examples}

