vegtab | R Documentation |
Produces an ordered table of abundance of species in samples, sub-sampled by (an optional) classification of the samples
vegtab(comm,set,minval=1,pltord,spcord,pltlbl,trans=FALSE)
comm |
a vegetation (or other taxon) data.frame |
set |
a logical variable specifying which samples to include |
minval |
a minimum abundance threshold to include in the table |
pltord |
a numeric vector specifying the order of rows in the output |
spcord |
a numeric vector specifying the order of columns in the output |
pltlbl |
a vector specifying an alternative row label (must be unique!) |
trans |
a logical variable to control transposing the table |
Subsets a vegetation data.frame according to specified plots or minimum species abundances, optionally ordering in arbitrary order.
a data.frame with specified rows, columns, and row.names
Vegetation tables are a common tool in vegetation analysis. In recent years analysis has tended to become more quantitative, and less oriented to sorted tables, but even still presenting the results from these analyses often involves a sorted vegetation table.
David W. Roberts droberts@montana.edu
vegemite
data(bryceveg) # returns a vegetation data frame called bryceveg
data(brycesite) # returns an environmental data frame called
# brycesite
vegtab(bryceveg,minval=10,pltord=brycesite$elev)
# produces a sorted table for species whose abundance sums
# to 10, with rows in order of elevation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.