vegtab {labdsv}R Documentation

Vegetation Table

Description

Produces an ordered table of abundance of species in samples, sub-sampled by (an optional) classification of the samples

Usage

vegtab(comm,set,minval=1,pltord,spcord,pltlbl,trans=FALSE)

Arguments

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

Details

Subsets a vegetation data.frame according to specified plots or minimum species abundances, optionally ordering in arbitrary order.

Value

a data.frame with specified rows, columns, and row.names

Note

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.

Author(s)

David W. Roberts droberts@montana.edu

See Also

vegemite

Examples

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.

[Package labdsv version 2.1-0 Index]