gen.half.founder: Get half-founder id numbers

View source: R/fonctionsBase.R

gen.half.founderR Documentation

Get half-founder id numbers

Description

Returns the id numbers of the half-founders. Half-founders are defined as the individuals with only one known parent in the genealogy (i.e., either mother id=0 or father id=0).

Usage

gen.half.founder( gen, ...)

Arguments

gen

An object of class GLgen obtained with gen.genealogy, gen.lineages or gen.branching. Required.

...

Option to pass additionnal arguments automaticaly between methods. Internal use only.

Value

returns a vector of integer

See Also

gen.genealogy gen.pro gen.founder gen.parent

Examples

data(geneaJi) 
genJi<-gen.genealogy(geneaJi) 
# There are 2 half-founders
gen.half.founder(genJi)

GENLIB documentation built on Jan. 17, 2023, 5:16 p.m.