IDEMSInternational / epicsawrap

GNU Lesser General Public License v3.0
0 stars 0 forks source link

crop_success_probabilities issues #97

Closed ChrisMarsh82 closed 8 months ago

ChrisMarsh82 commented 8 months ago
lilyclements commented 8 months ago

@ChrisMarsh82 what is the problem with point 1? If I change the values, it does give values, so I assume that the issue is with the definitions from ZMD, not with the code?

E.g., try

crop_success_probabilities("zm", "1", override = FALSE,
                           water_requirements = c(100, 200, 300),
                           planting_dates = c(25, 50, 75),
                           planting_length = c(20))

You can compare in R-Instat if you're ever unsure. This data gives the following:

image
  1. Discussed in issue #95
lilyclements commented 8 months ago

This can now be closed after PR https://github.com/IDEMSInternational/epicsawrap/pull/104