Closed ConnectedSystems closed 2 years ago
Closed thanks to fix that catches the edge case from @ryanheneghan
(see commit fcc47f2496ab919575f83ecb724dedb0d569b3fa and eb5c219df85762dd8e3f62ea864518e147d2373f)
Thanks @ryanheneghan
@ryanheneghan
FYI just in case its relevant to your investigations - values for juveniles seem to mostly span between 0 and 0.1, with 0.15 being fairly extreme.
This is with all values fluctuating though and the parameter bounds may be unrealistic. Might be worth seeing what the median value is if coral parameters are kept constant.
Initial trials with the RCI metric produce an entire result set (100 simulations in total) filled with 0.1
Now this could be partly due to the fact that I am making criteria weights constant (as you will see shortly), but I suspect this shouldn't be the case. I also think there may be an edge case.
In the link below, where the criteria are assessed against the 0.75 threshold, it seems nothing catches the case where the values are exactly 0.75 - all the checks are done for < or > 0.75
https://github.com/open-AIMS/ADRIA_repo/blob/369ddf78be125c6da0bb9905875d85a52aa403bc/ADRIAfunctions/Metrics/ReefConditionIndex.m#L105
@ryanheneghan could I get some help with this?
Below is a MWE which will work if you switch to the
generalize-RCI-76
branch.