gen.phiMean {GENLIB} | R Documentation |
Average kinship
Description
Returns the average kinship among pairs of specified individuals
Usage
gen.phiMean( phiMatrix)
Arguments
phiMatrix |
A square matrix of kinship coefficients obtained for example with gen.phi. Required. |
Value
returns a numeric value
See Also
gen.genealogy
gen.phi
gen.phiOver
gen.phiCI
Examples
data(geneaJi)
genJi<-gen.genealogy(geneaJi)
kinship<-gen.phi(genJi)
gen.phiMean(kinship)
data(genea140)
gen140<-gen.genealogy(genea140)
phi6subjects<-gen.phi(gen140, pro=c(454422, 676521, 677273, 717537, 717634, 717709, 868572))
gen.phiMean(phi6subjects)
[Package GENLIB version 1.1.10 Index]