do.breeding: Breed a pair of individuals

Description Usage Arguments Value

View source: R/breeding.R

Description

Breed a pair of individuals, creating a set of offspring. These are placed in space based on displace. Medellian genetics are used to determine the new allele values for the offspring.

Usage

1
do.breeding(x, pts, fecund, displace)

Arguments

x

A row from the breeding pairs table, giving the male and female ids.

pts

The .ppp population of breeding individuals. This is used to access the (x,y) location and allele values for the parents.

fecund

Number of children created if breeding occurs. Defined as two value vector N(m,sd) drawn from a normal distribution. Values always >= 0.

displace

Displacement of children drawn from normal distribution around the mid-point in space between the male and female parents.

Value

The table of children. See breed for details.


pwhigham/spatibm documentation built on Aug. 30, 2019, 1:16 p.m.