param.reprod: Reproduction parameters generator

View source: R/simer.Parameter.r

param.reprodR Documentation

Reproduction parameters generator

Description

Generate parameters for reproduction.

Usage

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

Arguments

SP

a list of all simulation parameters.

...

one or more parameter(s) for reproduction.

Details

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

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.

Author(s)

Dong Yin

Examples

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

simer documentation built on April 3, 2025, 9:24 p.m.