as.acomp {provenance} | R Documentation |
create an acomp
object
Description
Convert an object of class compositional
to an object of
class acomp
for use in the compositions
package
Usage
as.acomp(x)
Arguments
x |
an object of class |
Value
a data.frame
Examples
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)
[Package provenance version 4.3 Index]