Learn R Programming

GENLIB (version 1.0.3)

gen.completeness: Completeness

Description

Returns the completeness of the genealogical data for the specified probands

Usage

gen.completeness( gen, pro="0", genNo=-1, type="MEAN", ...)

Arguments

Value

A data frame with each generation at which the completeness is calculated as rows and one column when type is "MEAN". When type is "IND", the number of columns equals the number of probands specified.

References

Cazes P, Cazes MH. (1996) Comment mesurer la profondeur genealogique d'une ascendance? Population (French Ed) 51:117-140.

See Also

gen.genealogy gen.rec gen.occ gen.implex gen.meangendepth

Examples

Run this code
data(geneaJi) 
genJi<-gen.genealogy(geneaJi) 
gen.completeness(genJi, type="IND")
For the 4th generation
gen.completeness(genJi, type="IND", genNo=4)

data(genea140) 
gen140<-gen.genealogy(genea140) 
gen.completeness(gen140)

Run the code above in your browser using DataLab