R/getSpeciesDiversity.R
getSpeciesdiversity.Rd
Calculates how many species compose the response of each taxon.
getSpeciesdiversity(x)
A crestObj
generated by the
crest.reconstruct
, loo
or
crest
functions.
Return the number of composing species of each taxon.
data(reconstr)
getSpeciesdiversity(reconstr)
#> Taxon1 Taxon2 Taxon3 Taxon4 Taxon5 Taxon6
#> 1 1 1 1 1 1