Learn R Programming

labdsv (version 1.8-0)

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

Description

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

Usage

ordtaxa(taxa,site)

Arguments

taxa

a taxon data frame

site

a site or environment data frame

Value

produces a list with two components:

taxa

the new taxon data frame

site

the new site data frame

Details

Prints a copy of the taxon 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
# NOT RUN {
    
# }
# NOT RUN {
data(bryceveg)
# }
# NOT RUN {
 # returns a data frame called bryceveg
    
# }
# NOT RUN {
data(brycesite)
# }
# NOT RUN {
 # returns a data frame called brycesite
    
# }
# NOT RUN {
demo <- ordtaxa(bryceveg,brycesite)
# }
# NOT RUN {
    
# }
# NOT RUN {
newveg <- demo$taxon
# }
# NOT RUN {
    
# }
# NOT RUN {
newsite <- demo$site
# }

Run the code above in your browser using DataLab