Learn R Programming

labdsv (version 1.8-0)

spcdisc: Species Discrimination Analysis

Description

Calculates the degree to which species are restricted to certain classes of classified vegetation

Usage

spcdisc(x,sort=FALSE)

Arguments

x

a classified vegetation table returned by ‘const’, or ‘importance’

sort

return in sorted order if TRUE

Value

A vector of discrimination values.

Details

Calculates a Shannon-Weiner information statistic on the relative abundance of species within classes.

See Also

const, importance, indval, isamic

Examples

Run this code
# NOT RUN {
data(bryceveg)
data(brycesite)
test <- const(bryceveg,brycesite$quad)
spcdisc(test)
# }

Run the code above in your browser using DataLab