Transformations from 'mixtures' of the "mixR" library to 'compositions' classes 'aplus', 'acomp', 'rcomp', 'rplus' and 'rmult'.
1 2 3 4 5 6
mixture object to be converted
A 'compositions' object is obtained from the mixtute object m, having the same data matrix as mixture object m i.e. m\$mat.
A 'compositions' object of the class 'aplus', 'acomp', 'rcomp', 'rplus' or 'rmult'.
1 2 3 4 5 6 7
## Not run: m <- mix.Read("Glac.dat") # reads the Glacial data set from Aitchison (1986) m <- mix.Extract(m,c(1,2,3,4)) # mix object with closed four parts subcomposition ap <- mix.2aplus(m) # ap is a 'compositions' object of the aplus class ac <- mix.2acomp(m) # ac is a 'compositions' object of the acomp class ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.