update_strategy: Update insecticides that are in use in line with the strategy

View source: R/update_strategy.R

update_strategyR Documentation

Update insecticides that are in use in line with the strategy

Description

Expresses strategy as a change in insecticide usage dependent upon conditions for when a strategy involves changing an insecticide

Usage

update_strategy(
  tt,
  strategy,
  strategy_start,
  strategy_details,
  res_freq,
  in_use,
  rk
)

Details

@param tt Current time t in generations @param strategy Either Combination, Mixture or Rotation @param strategy_start The time t in generations that the strategy starts @param strategy_details A vector informing the strategy @param res_freq The frequency of resistant alleles within the populaion @param in_use The previous vector of in_use @param rk THe replacement / retreatment schedule

@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.