Learn R Programming

GENLIB (version 1.0.1)

gen.pro: Get proband id numbers

Description

Returns the id numbers of the probands. Probands are defined as the individuals without children in the genealogy.

Usage

gen.pro( gen, check = "1", ...)

Arguments

Value

returns a vector of integer

See Also

gen.genealogy gen.founder gen.half.founder gen.parent gen.children

Examples

Run this code
data(geneaJi) 
genJi<-gen.genealogy(geneaJi) 
gen.pro(genJi)  #There are 3 proposants


data(genea140) 
gen140<-gen.genealogy(genea140)
gen.pro(gen140) #There are 140 proposants

Run the code above in your browser using DataLab