BiologicalRecordsCentre / BRCindicators

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

FY is not smart #33

Closed drnickisaac closed 4 years ago

drnickisaac commented 5 years ago

At present the FY part of bug_data in bma() uses the year numbers from the data. but the BUGS model scales everything from year 1, so FY must reflect this too.

AugustT commented 5 years ago

i.e. years should go from 1:Nyears?

drnickisaac commented 4 years ago

I have fixed this. I've also fixed it so that the output model is indexed by the years in the input data, as opposed to starting at 1.