Revision 775c7e1be4c58aaf8adccdd2b92d07aa9cdc265f authored by Matthias Templ on 14 January 2020, 05:10:03 UTC, committed by cran-robot on 14 January 2020, 05:10:03 UTC
1 parent d761b2f
Raw File
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