mixed_mating: Produce the next generation but allow for some level of...

Description Usage Arguments Value Author(s)

View source: R/mixed_mating.R

Description

This function is a bit of a wrapper around the mate function in that it allows you to specify the inbreeding parameter F (the fraction of individuals that produce offspring via selfing).

Usage

1
mixed_mating(data, N = 1, s = 0)

Arguments

data

A data.frame containing individuals with objects of type locus

N

The total number of individuals in the next generation to be produced by the mating of each individual. If empty, it will default to 1 offspring per pair.

s

The fraction of adults you want to be selected to produce selfed offspring, the default is 0 and this will produce a randomly mating population just like if you called mate().

Value

A data.frame that has new individuals that are the result of mixed mating

Author(s)

Rodney J. Dyer rjdyer@vcu.edu


MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.