mixnorm.contour: Contour plot of a Gaussian mixture model in S^2

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/mixnorm.contour.R

Description

Contour plot of a Gaussian mixture model in S^2.

Usage

1

Arguments

x

A matrix with the compositional data.

mod

An object containing the output of a mix.compnorm model.

Details

The contour plot of a Gaussian mixture model is plotted. For this you need the data and the fitted model.

Value

A ternary plot with the data and the contour lines of the fitted Gaussian mixture model.

Author(s)

Michail Tsagris

R implementation and documentation: Michail Tsagris <[email protected]> and Giorgos Athineou <[email protected]>

References

Ryan P. Browne, Aisha ElSherbiny and Paul D. McNicholas (2015). R package mixture: Mixture Models for Clustering and Classification

Aitchison J. (1986). The statistical analysis of compositional data. Chapman \& Hall.

See Also

mix.compnorm, bic.mixcompnorm, diri.contour

Examples

1
2
3
4
x <- as.matrix(iris[, 1:3])
x <- x / rowSums(x)
mod <- mix.compnorm(x, 3, model = "EII")
mixnorm.contour(x, mod)

Example output



Compositional documentation built on June 4, 2018, 5:04 p.m.