merging.cohorts: Merging of cohorts

View source: R/merging.cohorts.R

merging.cohortsR Documentation

Merging of cohorts

Description

Function to merge cohorts in a population list

Usage

merging.cohorts(population, cohorts, name.cohort = NULL)

Arguments

population

Population list

cohorts

Quick-insert for database (vector of names of cohorts to export)

name.cohort

Name of the newly added cohort

Examples

data(ex_pop)
population <- breeding.diploid(ex_pop, add.gen = 7, breeding.size = 50)
population <- breeding.diploid(population, add.gen = 7, breeding.size = 50,
 selection.m.database = cbind(6,1), selection.f.database = cbind(6,2))
population <- merging.cohorts(population, cohorts = c("Cohort_7_M", "Cohort_8_M"))

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.

Related to merging.cohorts in MoBPS...