Learn R Programming

labdsv (version 2.1-0)

raretaxa: Identify Rare Taxa in a Data Set

Description

Identifies the distribution of rare taxa in a community data.frame, using a specified rareness threshold.

Usage

raretaxa(comm,min=1,log=FALSE,type='b', panel='all')

Value

Produces only graphs and returns no output

Arguments

comm

a community data.frame with samples as rows and species as columns

min

the minimum number of occurrences for a species to be considered rare

log

controls whether or not the Y axis on some graphs should be log scaled

type

the plot type. ‘b’ = both points and lines

panel

a switch to control which graphic is displayed. Can be either an integer from 1 to 3 or the word ‘all’.

Author

David W. Roberts droberts@montana.edu

Details

Rare species are an issue in ecological data sets. This function produces three graphs identifying (1) the distribution of rare species/plot, (2) the mean abundance (when present) of rare species, and (3) the total abundance or rare species/plot.

Examples

Run this code
data(bryceveg)
raretaxa(bryceveg,min=3,log=TRUE)

Run the code above in your browser using DataLab