as.data.frame | R Documentation |
data.frame
objectConvert an object of class compositional
to a
data.frame
for use in the robCompositions
package
## S3 method for class 'compositional'
as.data.frame(x, ...)
## S3 method for class 'counts'
as.data.frame(x, ...)
x |
an object of class |
... |
optional arguments to be passed on to the generic function |
a data.frame
data(Namib)
Major.frame <- as.data.frame(Namib$Major)
## uncomment the next two lines to plot an error
## ellipse using the robCompositions package:
# library(robCompositions)
# plot(pcaCoDa(Major.frame))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.