as.data.frame | R Documentation |
Convert a compositional object to a dataframe
## S3 method for class 'acomp'
as.data.frame(x,...)
## S3 method for class 'rcomp'
as.data.frame(x,...)
## S3 method for class 'aplus'
as.data.frame(x,...)
## S3 method for class 'rplus'
as.data.frame(x,...)
## S3 method for class 'rmult'
as.data.frame(x,...)
## S3 method for class 'ccomp'
as.data.frame(x,...)
## S3 method for class 'rmult'
as.matrix(x,...)
x |
an object to be converted to a dataframe |
... |
additional arguments are not used |
a data frame containing the given data, or (for rmult only) as matrix.
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
data(SimulatedAmounts)
as.data.frame(acomp(sa.groups))
# The central perpose of providing this command is that the following
# works properly:
data.frame(acomp(sa.groups),groups=sa.groups.area)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.