Description Usage Arguments Value Note Author(s) See Also Examples
Computes Cohesiveness Index for a Cluster Analysis
1 | coi(mst, groups)
|
mst |
A minimum spanning tree matrix (binary) |
groups |
A vector with the group/cluster assignments for each sample |
Returns a something
While the function will still return a value, if all the species abundances are equal to 1 in the input to chao1
, a warning will be raised, and the value returned will be equal to the number of species observed.
Matthew Vavrek
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Loading required package: sp
Loading required package: maps
Loading required package: shapefiles
Loading required package: foreign
Attaching package: 'shapefiles'
The following objects are masked from 'package:foreign':
read.dbf, write.dbf
[1] 11.5
[1] 4
[1] 6
[1] 6
Warning message:
In chao1(a) :
This data appears to be presence/absence based, but this estimator is for abundance data only
[1] 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.