Revision b66ed0ee23d1154b053a30fa7aa5bfb421df575a authored by Matthias Templ on 21 June 2010, 08:03:56 UTC, committed by cran-robot on 21 June 2010, 08:03:56 UTC
1 parent e11c86d
robVariation.Rd
\name{robVariation}
\alias{robVariation}
\title{ Robust variation matrix }
\description{
Estimates the variation matrix with robust methods.
}
\usage{
robVariation(x, robust=TRUE)
}
\arguments{
\item{x}{ data frame or matrix with positive entries }
\item{robust}{ if FALSE, standard measures are used. }
}
\details{
The variation matrix is estimated for a given compositional data set. Instead of using the classical standard deviations the
\code{\link[stats]{mad}} is used when parameter robust is set to TRUE.
}
\value{
The (robust) variation matrix.
}
\references{ Aitchison, J. (1986) \emph{The Statistical Analysis of Compositional
Data} Monographs on Statistics and Applied Probability. Chapman \&
Hall Ltd., London (UK). 416p. }
\author{ Matthias Templ }
\seealso{ \code{\link[compositions]{variation}} }
\examples{
data(expenditures)
robVariation(expenditures)
robVariation(expenditures, robust=FALSE)
}
\keyword{ multivariate }
\keyword{ robust }
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...