running_simulation: Running the simulation function

Description Usage Arguments Value

View source: R/functions.R

Description

This function runs the simulation for a specified number of days using the modelo_pod_infection

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
running_simulation(
  weather_data,
  modeling_days,
  pod_data,
  plot_data,
  x,
  mature,
  sporulated,
  R,
  y,
  model_WH
)

Arguments

weather_data

data frame with the wheather

modeling_days

increasing number

pod_data

data frame("Healthy"=,"maturity"=,"Disease"=,"sporulate_level"= )

plot_data

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

x

data frame with crop characteristics data.frame("Crop_starting_date"=""%Y-%d-%m"","new_pods"=, "cultivar"=, "croping_frequency" =, "removing_sporulated_eficacy"=, "removing_latent_eficacy"=)

mature

number given by mature_sporulated_healty_latent_pod function

sporulated

number given by mature_sporulated_healty_latent_pod function

R

factor given by risk_factor function

y

data frame with control actions data.frame("Fumigation_dates"=,"Remotion_dates"=)

Value

the plot_data with the results of the simulation


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