swh:1:snp:cba907cabb90d910ce06526e8e65110f84d1288a
Raw File
Tip revision: a53065a09c3fce65a63e137deb5bccb6162e6cff authored by Matthias Templ on 18 November 2020, 20:10:02 UTC
version 2.3.0
Tip revision: a53065a
ternaryDiagEllipse.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ternaryDiagEllipse.R
\name{ternaryDiagEllipse}
\alias{ternaryDiagEllipse}
\title{Adds tolerance ellipses to a ternary diagram.}
\usage{
ternaryDiagEllipse(x, tolerance = c(0.9, 0.95, 0.975), locscatt = "MCD", ...)
}
\arguments{
\item{x}{Three-part composition. Object of class \dQuote{matrix} or
\dQuote{data.frame}.}

\item{tolerance}{Determines the amount of observations with Mahalanobis
distance larger than the drawn ellipse, scaled to one.}

\item{locscatt}{Method for estimating the mean and covariance.}

\item{\dots}{Additional arguments passed trough.}
}
\value{
no values are returned.
}
\description{
Low-level plot function which add tolerance ellipses to a high-level plot of
a ternary diagram.
}
\examples{

data(coffee)
x <- coffee[,2:4]
ternaryDiag(x, grid=FALSE)
ternaryDiagEllipse(x)
## or directly:
ternaryDiag(x, grid=FALSE, line="ellipse")

}
\seealso{
\code{\link{ternaryDiag}}
}
\author{
Peter Filzmoser, Matthias Templ
}
\keyword{aplot}
back to top