harvest_remotion: pods harvested and removed function

Description Usage Arguments Value

View source: R/functions.R

Description

This function estimates the number of healthy pods that were harvested or diseased pods removed from the crop in each simulation day.Then uses this information to actualize the pod_data and the pods with each disease status remaining in the status afetr the remotions

Usage

1
harvest_remotion(pod_data, mature, sporulated, modeling_days, x, control_days)

Arguments

pod_data

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

mature

number given by mature_sporulated_healty_latent_pod function

sporulated

number given by mature_sporulated_healty_latent_pod function

modeling_days

increasing number

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"=)

control_days

list with a vector and a number given by Estimating_control_action_days function

Value

a list with numbers representing the new mature,sporulated,harvest,healthy,latent,disease_remove, sporulated_remove and the updated pod_data


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