randomMate: Random Mating

View source: R/myMating.R

randomMateR Documentation

Random Mating

Description

Random Mating

Usage

randomMate(inds, n, names, seed = NULL)

Arguments

inds

Vector of the selected individuals' names

n

Total number of cross to perform

names

Names of the new individuals.

seed

Random seed for mate pairs

Value

data.frame of the crossing table

Examples

nCross <- 10
inds <- paste0("ind-", seq(1:5))
names <- paste0("newInd-", seq(1:nCross))
randomMate(inds, nCross, names)

KosukeHamazaki/myBreedSimulatR documentation built on Aug. 31, 2024, 3:55 p.m.