Contour plot of the skew skewnormal distribution in S^2
Contour plot of the skew skewnormal distribution in S^2.
A matrix with the compositional data. It has to be a 3 column matrix.
This is either "alr" or "ilr", corresponding to the additive and the isometric log-ratio transformation respectively.
The number of grid points to consider over which the density is calculated.
Should the available data appear on the ternary plot (TRUE) or not (FALSE)?
The alr or the ilr transformation is applied to the compositional data at first. Then for a grid of points within the 2-dimensional simplex the bivariate skew skewnormal density is calculated and the contours are plotted along with the points.
A ternary diagram with the points (if appear = TRUE) and the bivariate skew skewnormal contour lines.
R implementation and documentation: Michail Tsagris <firstname.lastname@example.org> and Giorgos Athineou <email@example.com>
Azzalini A. and Valle A. D. (1996). The multivariate skew-skewnormal distribution. Biometrika 83(4):715-726.
Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.
diri.contour, mixnorm.contour, bivt.contour, norm.contour
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.