BiologicalRecordsCentre / BRCindicators

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

Streamline BMA options #15

Open drnickisaac opened 6 years ago

drnickisaac commented 6 years ago

Currently we have about 8 options for the BMA. Need to reduce these down to a set that is manageable, i.e. that will be used and are worth maintaining.

drnickisaac commented 4 years ago

I have started by deprecating seven options and meta-coding three others into a single function. Only smooth_det remains as a stand-alone function that is still accessible. Next step is to rename them with sensible names but also allow the old names.

drnickisaac commented 4 years ago

I've made quite a lot of progress. There's now only two genuine options for within bma(): one is smooth, which has some options, and the other is the old smooth_det, which I want to look at more closely. In addition, there are options which effectively wrap around smooth, for backwards compatibility. BUGS code for older options (e.g. ranwalk) are accessible via get_bmaBUGScode() but can no longer be run in bma()