count_and_plot_mate_distribution {CKMRpop}R Documentation

Count and plot the number of mates each individuals has produced offspring with

Description

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

Usage

count_and_plot_mate_distribution(P)

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

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


[Package CKMRpop version 0.1.3 Index]