rCOSA is an R package. The main output is a cluster happy dissimilarity matrix that can serve as input for proximity analysis methods.
These are the commands to install and load rCOSA
:
install.packages('devtools');
devtools::install_github('mkampert/rCOSA')
A detailed overview on how to use the rCOSA
package is given in the open-source article "rCOSA: A Software Package for Clustering Objects on Subsets of Attributes" in the Journal of Classification (2017, Vol 34, issue 3, pp. 514 - 547).
A quick basic example of code on how to use the rCOSA
package is:
library(rCOSA)
data(ApoE3) # ?ApoE3
cosa_rslts <- cosa2(ApoE3)
hierclust(cosa_rslts$D)
For the latest developments, check out "Improved Strategies for Distance Based Clustering of Objects on Subsets of Attributes in High-Dimensional Data"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.