.newPop {AlphaSimR} | R Documentation |
Create new population (internal)
Description
Creates a new Pop-class
from an object of
of the Pop superclass.
Usage
.newPop(
rawPop,
id = NULL,
mother = NULL,
father = NULL,
iMother = NULL,
iFather = NULL,
isDH = NULL,
femaleParentPop = NULL,
maleParentPop = NULL,
hist = NULL,
simParam = NULL,
...
)
Arguments
rawPop |
an object of the pop superclass |
id |
optional id for new individuals |
mother |
optional id for mothers |
father |
optional id for fathers |
iMother |
optional internal id for mothers |
iFather |
optional internal id for fathers |
isDH |
optional indicator for DH/inbred individuals |
femaleParentPop |
optional population of female parents |
maleParentPop |
optional population of male parents |
hist |
optional recombination history |
simParam |
an object of |
... |
additional arguments passed to the finalizePop function in simParam |
Value
Returns an object of Pop-class
[Package AlphaSimR version 1.5.3 Index]