Regional geochemical survey of soil O in Norway

Estimates the variation matrix with robust methods.

1 |

`x` |
data frame or matrix with positive entries |

`robust` |
if FALSE, standard measures are used. |

The variation matrix is estimated for a given compositional data set.
Instead of using the classical standard deviations the
`mad`

is used when parameter robust is set to TRUE.

The (robust) variation matrix.

Matthias Templ

Aitchison, J. (1986) *The Statistical Analysis of
Compositional Data* Monographs on Statistics and Applied Probability.
Chapman \& Hall Ltd., London (UK). 416p.

1 2 3 | ```
data(expenditures)
variation(expenditures)
variation(expenditures, robust=FALSE)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.