count_and_plot_mate_distribution: Count and plot the number of mates each individuals has...

Description Usage Arguments Value Examples

View source: R/count_and_plot_mate_distribution.R

Description

This just tallies up the information from the pedigree. It will plot things faceted by pop (over rows) and sexes (over columns).

Usage

1

Arguments

P

the pedigree from the simulation, like that returned in the pedigree component of the list returned by slurp_spip().

Value

A list with two components with names:

Examples

1
2
3
4
5
6
result <- count_and_plot_mate_distribution(three_pops_no_mig_slurped_results$pedigree)

# have a look at the results:
result$mate_counts

result$plot_mate_counts

CKMRpop documentation built on July 17, 2021, 5:07 p.m.