mat.sub.sample: mat.sub.sample sub-samples a breeding matrix

Description Usage Arguments Value

View source: R/brd.mat.functions.R

Description

This function identifies all successfully breeding mate pairs and enumerates how many offspring they produced. Given the total number of offspring produced in the entire matrix, a per mate pair probability is calculated and used to randomly sub-sample offspring from each mate pair to some number of sampled offspring defined by the user.

Usage

1
mat.sub.sample(mat, noff = 250)

Arguments

mat

is a breeding matrix where offspring per mate pair have been determined using brd.mat.fitness

noff

is the number of offspring randomly sampled

Value

A data frame with the number of offspring produced per mate pair and the number of offspring sampled described


nicksard/mater documentation built on Dec. 22, 2021, 2:14 a.m.