BiologicalRecordsCentre / BRCindicators

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

Harmonizing variable names in BUGS code with Freeman #68

Open drnickisaac opened 4 years ago

drnickisaac commented 4 years ago

The bma method will be underpinned by the Freeman et al paper, so it would be worth harmonizing the code so that variable names match up. The following need to be renamed in both bma_model_Smooth() and where parameters are monitored, from line 190-203. I think it's just the following four parameters that need changing:

If we're making these changes, it would make sense to give other variables more intuitive names:

Note that the parameters to model section is currently written to be compatible with a large number of alternative forms of bma, all of which have now been deprecated. So this section could be substantially tidied. If so, we could also remove the model option, which only exists for backward compatibility.