allGens: allGens A function to calculate the number of individuals in...

View source: R/calculateFamilySize.R

allGensR Documentation

allGens A function to calculate the number of individuals in each generation. This is a supporting function for simulatePedigree.

Description

allGens A function to calculate the number of individuals in each generation. This is a supporting function for simulatePedigree.

Usage

allGens(kpc, Ngen, marR)

Arguments

kpc

Number of kids per couple (integer >= 2).

Ngen

Number of generations (integer >= 1).

marR

Mating rate (numeric value ranging from 0 to 1).

Value

Returns a vector containing the number of individuals in every generation.


R-Computing-Lab/BGMisc documentation built on April 3, 2025, 3:12 p.m.