cord {cord} | R Documentation |
Community estimation in G-models via CORD
Description
Partition data points (variables) into clusters/communities. Reference: Bunea, F., Giraud, C., & Luo, X. (2015). Community estimation in G
-models via CORD. arXiv preprint arXiv:1508.01939. http://arxiv.org/abs/1508.01939.
Usage
cord(X, tau = 2 * sqrt(log(ncol(X))/nrow(X)), kendall = T,
input = c("data", "cor", "dist"))
Arguments
X |
Input data matrix. It should be an n (samples) by p (variables) matrix when |
tau |
Threshold to use at each iteration. A theoretical choice is about |
kendall |
Whether to compute Kendall's tau correlation matrix from |
input |
Type of input |
Value
list
with one element: a vector of integers showing which cluster/community each point is assigned to.
Examples
set.seed(100)
X <- 2*matrix(rnorm(200*2), 200, 10)+matrix(rnorm(200*10), 200, 10)
cord(X)