prob_infect: Probability of Infection function

Description Usage Arguments Value

View source: R/functions.R

Description

This function estimates the probability of a new infection to develop for each simulation day.

Usage

1
prob_infect(cultivar, Temp, WH, plot_data, modeling_days, control_days)

Arguments

cultivar

character specified by the user in the crop characteristic dataframe

Temp

number given by daily_weather function

plot_data

data.frame("Days"=,"Healthy"=,"Mature"=,"Latent"=,"Sporulated"=, "Harvest"=,"Latent_removed"=, "Sporulated_removed"=, "Risk_factor"=)

modeling_days

increasing number

control_days

list with a vector and a number given by Estimating_control_action_days function

Hum

number given by daily_weather function

Value

the probability of a new infection the simulated day


drunita/mr-model documentation built on Dec. 20, 2021, 1:20 a.m.