Get number of pedigrees

pedigrees_count(pedigrees)

Arguments

pedigrees

Pedigrees

Examples

sim <- sample_geneology(100, 10)
peds <- build_pedigrees(sim$population)
pedigrees_count(peds)
#> [1] 18