R: Get half-founder id numbers

gen.half.founder {GENLIB} | R 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)

[Package GENLIB version 1.1.5 Index]