Learn R Programming

simer (version 1.0.0)

param.reprod: Reproduction parameters generator

Description

Generate parameters for reproduction.

Usage

param.reprod(SP = NULL, ...)

Value

the function returns a list containing

$reprod$pop.gen

the generations of simulated population.

$reprod$reprod.way

reproduction method, it consists of "clone", "dh", "selfpol", "randmate", "randexself", "assort", "disassort", "2waycro", "3waycro", "4waycro", "backcro", and "userped".

$reprod$sex.rate

the male rate in the population.

$reprod$prog

the progeny number of an individual.

Arguments

SP

a list of all simulation parameters.

...

one or more parameter(s) for reproduction.

Author

Dong Yin

Details

Build date: Apr 6, 2022 Last update: Jul 4, 2022

Examples

Run this code
SP <- param.reprod(reprod.way = "randmate")
str(SP)

Run the code above in your browser using DataLab