Learn R Programming

labdsv (version 2.1-0)

importance: Importance Table

Description

For a classified set of vegetation samples, a importance table lists for each species the average or typical abundance of each species in each class.

Usage

importance(comm,clustering,minval=0,digits=2,show=minval,
       sort=FALSE,typical=TRUE,spcord,dots=TRUE)

Value

a data.frame with species as rows, classes as columns, with average abundance of species in classes.

Arguments

comm

a data.frame of species abundances with samples as rows and species as columns

clustering

a vector of (integer) class memberships, or an object of class ‘clustering’, class ‘partana’, of class partition

minval

the minimum importance a species must have in at least one class to be included in the output

digits

the number of digits to report in the table

show

the minimum value a species must have to print a value

sort

a switch to control interactive re-ordering

typical

a switch to control how mean abundance is calculated. Typical=TRUE divides the sum of species abundance by the number of plots in which it occurs; typical=FALSE divides by the number of plots in the type

spcord

a vector of integers to specify the order in which species should be listed in the table

dots

a switch to control substituting dots for small values

Author

David W. Roberts droberts@montana.edu

See Also

const, vegtab, concov

Examples

Run this code
data(bryceveg) # returns a data.frame called bryceveg
data(brycesite)
class <- cut(brycesite$elev,10,labels=FALSE)
importance(bryceveg,class,minval=0.25)

Run the code above in your browser using DataLab