Learn R Programming

BreedingSchemeLanguage (version 0.9.6)

selfFertilize: Self-fertilize

Description

Self-fertilize

Usage

selfFertilize(sEnv = NULL, nProgeny = 100, popID = NULL)

Arguments

sEnv

the environment that BSL functions operate in. Default is "simEnv" so use that to avoid specifying when calling functions

nProgeny

the number of progeny

popID

population ID to be self-fertilized (default: the latest population)

Value

modifies the list sims in environment sEnv by creating a selfed progeny population as specified, with an incremented population number