EcologyR / mappestRisk

Other
1 stars 0 forks source link

fix `ratkowsky()` for therm_suit_bounds() #59

Open dario-ssm opened 2 months ago

dario-ssm commented 2 months ago

This model yields unrealistic TPCs above CTmax and below CTmin, so we need a correction in therm_suit_bounds() that selects only values within the thermal tolerance range (CTmin to CTmax) to calculate thermal bounds whenever model_name is mod_polynomial and ratkowsky