Learn R Programming

GENLIB (version 1.0.3)

gen.completenessVar: Variance of completeness index

Description

Returns the variance of the completeness index across probands.

Usage

gen.completenessVar( gen, pro = "0", genNo = -1, ...)

Arguments

Value

A data frame with one column and each generation at which the variance is calculated as rows.

References

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

See Also

gen.gc

Examples

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

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

Run the code above in your browser using DataLab