Learn R Programming

mets (version 1.3.11)

familycluster_index: Finds all pairs within a cluster (family)

Description

Finds all pairs within a cluster (family)

Usage

familycluster_index(clusters, index.type = FALSE, num = NULL, Rindex = 1)

Arguments

clusters

list of indeces

index.type

argument of cluster index

num

num

Rindex

index starts with 1 in R, and 0 in C

Author

Klaus Holst, Thomas Scheike

References

Cluster indeces

See Also

cluster_index familyclusterWithProbands_index

Examples

Run this code
i<-c(1,1,2,2,1,3)
d<- familycluster_index(i)
print(d)

Run the code above in your browser using DataLab