Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

familyclusterWithProbands.index

Finds all pairs within a cluster (famly) with the proband (case/control)


Description

second column of pairs are the probands and the first column the related subjects

Usage

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

Arguments

clusters

list of indeces giving the clusters (families)

probands

list of 0,1 where 1 specifices which of the subjects that are probands

index.type

argument passed to other functions

num

argument passed to other functions

Rindex

index starts with 1, in C is it is 0

Author(s)

Klaus Holst, Thomas Scheike

References

Cluster indeces

See Also

familycluster.index cluster.index

Examples

i<-c(1,1,2,2,1,3)
p<-c(1,0,0,1,0,1)
d<- familyclusterWithProbands.index(i,p)
print(d)

mets

Analysis of Multivariate Event Times

v1.2.8.1
GPL (>= 2)
Authors
Klaus K. Holst [aut, cre], Thomas Scheike [aut]
Initial release
2020-09-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.