brd.mat: brd.mat makes a breeding matrix

Description Usage Arguments Value

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

Description

This function makes a matrix where columns identify successfully breeding mothers and rows identify successfully breeding fathers. Zeros in the matrix identify mate pairs that did not mate and values of one identify mate pairs that did mate. Lambda can be set to a range of values to be randomly drawn uniformly from low and high values. If the user wants lambda to fixed set both the low and high values to the same number.

Usage

1
brd.mat(moms = 100, dads = 100, lambda.low = 3, lambda.high = 3)

Arguments

moms

is a integer representing the number of successfully breeding mothers

dads

is a integer representing the number of successfully breeding fathers

lambda.low

is a integer representing lambda (mean and variance in mating success)

lambda.high

is a integer representing lambda (mean and variance in mating success)

Value

A matrix with zeros and ones


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