Learn R Programming

labdsv (version 2.1-0)

abuocc: Abundance/Occurrence Graphical Analysis

Description

Calculates and plots summary statistics about species occurrences in a data frame

Usage

abuocc(comm,minabu=0,panel='all')

Value

Returns an (invisible) list composed of:

spc.plt

number of species/sample

plt.spc

number of samples each species occurs in

mean

mean abundance of each species when present (excluding values smaller than minabu)

Arguments

comm

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

minabu

a minimum abundance threshold species must exceed to be included in the calculations (default=0)

panel

controls which of four graphs is drawn, and can be 'all' or integers 1-4

Author

David W. Roberts droberts@montana.edu

Details

This functions calculates and plots four data summaries about the occurrence of species:

Plots:

1) the number of samples each species occurs in on a log scale, sorted from maximum to minimum

2) the number of species in each sample plot (species richness) from highest to lowest

3) the mean abundance of non-zero values (on a log scale) as a function of the number of plots a species occurs in

4) the total abundance/sample as a function of the plot-level species richness

The third plot allows you to identify individual species with the mouse; the fourth plot allows you to identify individual sample units with the mouse.

See Also

fisherfit, prestonfit, radfit

Examples

Run this code
data(bryceveg) # produces a data.frame called bryceveg
abuocc(bryceveg)

Run the code above in your browser using DataLab