ordcomm | R Documentation |
Allows analysts to interactively re-order a community data frame to achieve a ‘structured’ table following phytosociological principles.
ordcomm(comm,site)
comm |
a community data frame |
site |
a site or environment data frame |
Prints a copy of the community data frame, and then prompts for plots to move in front of another plot. It then prompts for species to move in front of a specified species. Multiple plots or species can be moved in a single move, with plot or species IDs separated by commas with no blanks. The program cycles between prompting for plots to move, and then species to move, until both prompts are responded to with blank lines.
produces a list with two components:
comm |
the new community data frame |
site |
the new site data frame |
This is a a fairly simple means to sort a table. For large tables, it is often possible (and preferable) to sort the tables with ordination coordinates or other indices, but this function allows analysts to order the table arbitrarily into any form.
David W. Roberts droberts@montana.edu
summary.indval
,const
,importance
## Not run: data(bryceveg) # returns a data frame called bryceveg
## Not run: data(brycesite) # returns a data frame called brycesite
## Not run: demo <- ordcomm(bryceveg,brycesite)
## Not run: newveg <- demo$taxon
## Not run: newsite <- demo$site
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.