https://github.com/cran/robCompositions
Raw File
Tip revision: d761b2fedaa3133904cf8bbd87ad4e6fcfdf79ac authored by Matthias Templ on 15 April 2019, 16:22:43 UTC
version 2.1.0
Tip revision: d761b2f
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