makefamid: Construct a family id from pedigree information

Description Usage Arguments Details Value Author(s) See Also

View source: R/makefamid.R

Description

Create a vector of length n, giving the family "tree" number of each subject. If the pedigree is totally connected, then everyone will end up in tree 1, otherwise the tree numbers represent the disconnected subfamilies. Singleton subjects give a zero for family number.

Usage

1
makefamid(id, father.id, mother.id)

Arguments

id

Identifier for each subject in the set of pedigrees

father.id

Identifier for the father. This will be 0 or "" for a founder.

mother.id

Identifer for the mother.

Details

This command is depricated. The kinship command now can be applied directly to pedigreeList objects.

Value

An integer vector giving family groupings

Author(s)

Terry Therneau

See Also

makekinship


kinship2 documentation built on May 29, 2017, 3:49 p.m.

Search within the kinship2 package
Search all R packages, documentation and source code