as.acomp | R Documentation |
acomp
objectConvert an object of class compositional
to an object of
class acomp
for use in the compositions
package
as.acomp(x)
x |
an object of class |
a data.frame
data(Namib)
qfl <- ternary(Namib$PT,c('Q'),c('KF','P'),c('Lm','Lv','Ls'))
plot(qfl,type="QFL.dickinson")
qfl.acomp <- as.acomp(qfl)
## uncomment the next two lines to plot an error
## ellipse using the 'compositions' package:
# library(compositions)
# ellipses(mean(qfl.acomp),var(qfl.acomp),r=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.