gen.depth {GENLIB} | R Documentation |
Genealogy depth
Description
Returns the number of generations in the genealogy from a GLgen object.
Usage
gen.depth(gen)
Arguments
gen |
An object of class GLgen obtained with gen.genealogy, gen.lineages or gen.branching. Required. |
Value
returns a vector of integer
See Also
gen.genealogy
gen.min
gen.mean
gen.min
gen.meangendepth
Examples
data(geneaJi)
genJi<-gen.genealogy(geneaJi)
gen.depth(genJi)
data(genea140)
gen140<-gen.genealogy(genea140)
gen.depth(gen140)
[Package GENLIB version 1.1.10 Index]