Changed to proportion of number of days instead of proportion of duration of days, in case there are missed days between min and max date (oops).
Also added handling for the threshold parameter being set to > 1. If >1, it will be interpreted as a number of days. If < 1, it will be interpreted as a proportion.
This is an extremely clumsy handling of this, and it should be made better.
Changed to proportion of number of days instead of proportion of duration of days, in case there are missed days between min and max date (oops).
Also added handling for the threshold parameter being set to > 1. If >1, it will be interpreted as a number of days. If < 1, it will be interpreted as a proportion.
This is an extremely clumsy handling of this, and it should be made better.