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.
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.
Steve coded the calculation of the second derivative , so I've included
incl.2deriv
an option in the BUGS code forbma_model_Smooth()
. I reckon it may be more efficient to do the 2nd derivative stuff in R. I've left with default =FALSE
.