importance {labdsv} | R Documentation |
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.
importance(taxa,clustering,minval=0,digits=2,show=minval,sort=FALSE,spcord)
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 |
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 |
a data.frame with species as rows, classes as columns, with average abundance of species in classes.
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
David W. Roberts droberts@montana.edu http://ecology.msu.montana.edu/droberts
http://ecology.msu.montana.edu/labdsv/R/labdsv
data(bryceveg) # returns a data.frame called bryceveg class <- sample(1:10,nrow(bryceveg),replace=TRUE) importance(bryceveg,class,minval=0.25)