powered by
Finds all pairs within a cluster (family)
familycluster.index(clusters, index.type = FALSE, num = NULL, Rindex = 1)
list of indeces
argument of cluster index
num
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)
Run the code above in your browser using DataLab