BiologicalRecordsCentre / BRCindicators

An R package for creating indicators from trends data
4 stars 11 forks source link

Option for second derivative on the indicator line #46

Open drnickisaac opened 4 years ago

drnickisaac commented 4 years ago

Steve coded the calculation of the second derivative , so I've included incl.2deriv an option in the BUGS code for bma_model_Smooth(). I reckon it may be more efficient to do the 2nd derivative stuff in R. I've left with default = FALSE.

drnickisaac commented 4 years ago

This is now in the BUGS code. I think it may be more efficient to do as a post-hoc test ...... Anyway, the next step is to allow the "significant" second derviatives to be calculated.