vegtab {labdsv} | R Documentation |
Produces an ordered table of abundance of species in samples, subsampled by (an optional) classification of the samples
vegtab(veg,set,minval=1,pltord,spcord,pltlbl,trans=FALSE)
veg |
a vegetation 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 alaysis. In recent years analysis has tended to become more quantitaive, 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 http://ecology.msu.montana.edu/labdsv
http://ecology.montana.msu.edu/labdsv/
data(bryceveg) # returns a vegetation data frame called bryceveg data(brycesite) # returns an envrironmental 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.