amf {mefa} | R Documentation |
This function extracts and attaches data from an object of class 'mefa'.
amf(x, which = "samples", attach = FALSE)
x |
an object of class 'mefa'. |
which |
selector for attribute table, either "samples" (default) or "species" . |
attach |
logical, see value for details. |
If attribute table is NULL
, an error message is given.
Result is a data frame with respective marginal statistics (see , in
mefa
documentation) and the attribute table. If attach=FALSE
(default) a data frame is created, if attach=TRUE
, the resulting data frame is made and attached.
Peter Solymos, Solymos.Peter@aotk.szie.hu, http://www.univet.hu/users/psolymos/personal/
## Not run: data(landsnail, vsample, vtable) (vmf <- mefa(vt <- as.xcount(vtable, FALSE), xorder(vt, which="samples", vsample, 1), xorder(vt, which="species", landsnail, 2))) amf(vmf) amf(vmf,attach=TRUE) srichn amf(vmf, "species") ## End(Not run)