Learn R Programming

labdsv (version 2.0-1)

ordcomm: Re-Order the Rows and Columns of a Taxon Data Frame

Description

Allows analysts to interactively re-order a community data frame to achieve a ‘structured’ table following phytosociological principles.

Usage

ordcomm(comm,site)

Value

produces a list with two components:

comm

the new community data frame

site

the new site data frame

Arguments

comm

a community data frame

site

a site or environment data frame

Details

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.

See Also

summary.indval,const,importance

Examples

Run this code
if (FALSE) data(bryceveg) # returns a data frame called bryceveg
if (FALSE) data(brycesite) # returns a data frame called brycesite
if (FALSE) demo <- ordcomm(bryceveg,brycesite)
if (FALSE) newveg <- demo$taxon
if (FALSE) newsite <- demo$site

Run the code above in your browser using DataLab