Open CWWhitney opened 6 months ago
Sorry.. I was trying to calculate the implementation cost needed if vegetable is chosen, so I guess the 'chance_event' refers to 'implementation_vegetables' (does it make sense?) Honestly, I'm also not sure with this part since I just followed the code from older project.. I guess I might have made a mistake (?)
if (implementation_vegetables){ cost_implementation_vegetables <- vegetables_cost + vegetables_equipment_costs + vegetables_irrigation_costs } else{ cost_implementation_vegetables <- 0 }
Is a chance_event missing?
https://github.com/noviriasyifaunnafsi/transition-from-rice-to-vegetables/blob/1d2993b270ccf22dfa42798f55bebd7bfcdd098b/rice_to_vegs_updated.R#L39C9-L39C34