importance {labdsv}R Documentation

Importance Table

Description

For a classified set of vegetation samples, a importance table lists for a each species the average abundance (ignoring zeros) of each species in each class.

Usage

importance(taxa,clustering,minval=0,digits=2,show=minval,sort=FALSE,spcord)

Arguments

taxa

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

spcord

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

show

the minimum value a species must have to print a value

sort

a switch to control interactive re-ordering

Value

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

Note

Importance tables are often used in vegetation classification to calculate or present characteristic species for specific classes or types. Importance may be combined with const and vegtab to achieve a vegetation table-oriented analysis

Author(s)

David W. Roberts droberts@montana.edu http://ecology.msu.montana.edu/droberts

References

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

See Also

const, vegtab

Examples

    data(bryceveg) # returns a data.frame called bryceveg
    class <- sample(1:10,nrow(bryceveg),replace=TRUE)
    importance(bryceveg,class,minval=0.25)

[Package labdsv version 1.4-1 Index]