Learn R Programming

labdsv (version 1.2-0)

indspc: Compositional Indicator Species Analysis

Description

Calculates the mean similarity of all plots in which a species occurs.

Usage

indspc(taxa, dis, numitr=100)
## S3 method for class 'indspc':
plot(x, \dots)

Arguments

taxa
a data frame of taxa, samples as rows, species as columns
dis
an object of class dist from dist, vegist, or dsvdis
numitr
the number of iterations to use to establish the quantiles of the distribution
x
an object of class indspc
...
additional arguments to the plot function

Value

  • a list with two dataframes: vals with species name, mean similarity, and number of occurrences, and quantiles with the distribution of the quantiles

References

http://ecology.msu.montana.edu/labdsv/R

See Also

duleg,duarm

Examples

Run this code
data(bryceveg) # returns a vegetation dataframe
dis.bc <- dsvdis(bryceveg,'bray/curtis')
    # returns a Bray/Curtis dissimilarity matrix
indspc(bryceveg,dis.bc)

Run the code above in your browser using DataLab