Inheritance Cube: Mendelian
This function creates a Mendelian Inheritance Cube. It only handles simple, alphabetic genotypes.
The default is 3 alleles at 1 locus, this can be extended to however many alleles one is interested in, but only at 1 locus.
cubeMendelian( gtype = c("AA", "Aa", "aa"), eta = NULL, phi = NULL, omega = NULL, xiF = NULL, xiM = NULL, s = NULL )
gtype
: Vector of genotypes, with the wild-type in the first positioneta
: Genotype-specific mating fitnessphi
: Genotype-specific sex ratio at emergenceomega
: Genotype-specific multiplicative modifier of adult mortalityxiF
: Genotype-specific female pupatory successxiM
: Genotype-specific male pupatory successs
: Genotype-specific fractional reduction(increase) in fertilityNamed list containing the inheritance cube, transition matrix, genotypes, wild-type allele, and all genotype-specific parameters.
Useful links