View source: R/clusterindex-reshape.R
familycluster.index | R Documentation |
Finds all pairs within a cluster (family)
familycluster.index(clusters, index.type = FALSE, num = NULL, Rindex = 1)
clusters |
list of indeces |
index.type |
argument of cluster index |
num |
num |
Rindex |
index starts with 1 in R, and 0 in C |
Klaus Holst, Thomas Scheike
Cluster indeces
cluster.index familyclusterWithProbands.index
i<-c(1,1,2,2,1,3)
d<- familycluster.index(i)
print(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.