Description Usage Arguments Value
View source: R/brd.mat.functions.R
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.
1 | brd.mat(moms = 100, dads = 100, lambda.low = 3, lambda.high = 3)
|
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) |
A matrix with zeros and ones
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.