| gen.completenessVar {GENLIB} | R Documentation |
Returns the variance of the completeness index across probands.
gen.completenessVar( gen, pro = "0", genNo = -1, ...)
gen |
An object of class GLgen obtained with gen.genealogy, gen.lineages or gen.branching. Required. |
pro |
Vector of proband id numbers to be included. Default is 0, which will select all individuals without children. |
genNo |
Vector of generation numbers at which completeness should be calculated. Default is -1, which calculates completeness at each generation. |
... |
Option to pass additionnal arguments automaticaly between methods. Internal use only. |
A data frame with one column and each generation at which the variance is calculated as rows.
Cazes P, Cazes MH. (1996) Comment mesurer la profondeur genealogique d'une ascendance? Population (French Ed) 51:117-140.
data(geneaJi) genJi<-gen.genealogy(geneaJi) gen.completeness(genJi, type="IND") gen.completenessVar(genJi) ## Not run: For the 4th generation gen.completenessVar(genJi, genNo=4) data(genea140) gen140<-gen.genealogy(genea140) gen.completeness(gen140) gen.completenessVar(gen140)