Creates a new Pop-class
from an object of
of the Pop superclass.
.newPop(
rawPop,
id = NULL,
mother = NULL,
father = NULL,
iMother = NULL,
iFather = NULL,
isDH = NULL,
femaleParentPop = NULL,
maleParentPop = NULL,
hist = NULL,
simParam = NULL,
...
)
an object of the pop superclass
optional id for new individuals
optional id for mothers
optional id for fathers
optional internal id for mothers
optional internal id for fathers
optional indicator for DH/inbred individuals
optional population of female parents
optional population of male parents
optional recombination history
an object of SimParam
additional arguments passed to the finalizePop function in simParam
Returns an object of Pop-class