initialize_femalefitness: Initialize female fitness of different genotypes

View source: R/initialize_femalefitness.R

initialize_femalefitnessR Documentation

Initialize female fitness of different genotypes

Description

Initialize fitness of bi-allele multi-locus genotypes of females from underlying selection coefficients frequencies

Usage

initialize_femalefitness(
  pk,
  zk,
  in_use,
  insecticides_applied,
  resistant_alleles,
  strategy,
  strategy_details,
  ins_dec,
  mixmax
)

Details

@param pk The constant for the percentage of the human population protected by the insecticide @param tk The constant for the toxicity cost of the insecticide e.g. mosquitio mortality @param ak The constant for the repellency of the insecticide as a (negative) assortment factor @param resistant_alleles A matrix that encodes the properties of the resistant alleles, as one allele per row The resistant alleles matrix takes the form of: name (i.e. a letter), 1=haploid or 2=diploid, T=toxicity or A=assortment, effect, dominance of effect, cost, dominance of cost

@return A vector of the fitness of different genotypes @export @examples


rkanitz/Madgwick-Kanitz-detsims documentation built on April 27, 2023, 2:55 p.m.