Description Usage Arguments Details Value Author(s) References See Also Examples
Compares two classifications by calculating the Goodman-Kruskal Index of association
1 | lambda(x,y,digits=5)
|
x |
an object of class ‘clustering’, ‘partana’, ‘partition’ or a vector identifying membership of objects in classes with names attribute |
y |
an object of class ‘clustering’, ‘partana’, ‘partition’ or a vector identifying membership of objects in classes with names attribute |
digits |
the number of digits of the statsitic to report |
lambda calculates the Goodman-Kruskal index of association:
∑_i max_j (n_{ij}) + ∑_j max_i (n_{ij}) - max(n_{i,}) - max(n{_.j}) \over 2*∑_i∑_j n_{ij} - max(n_{i,}) - max(n{_.j)}
Prints a cross-tabulated table and the lambda statistic, and (invisibly) returns the lambda statistic
David W. Roberts droberts@montana.edu
http://ecology.msu.montana.edu/labdsv/R
partition
, optpart
,
slice
,classmatch
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.