rbchan / unmarked

R package for hierarchical models in ecological research
https://rbchan.github.io/unmarked/
37 stars 25 forks source link

A few more tests for fixing predict #160

Closed kenkellner closed 4 years ago

kenkellner commented 4 years ago

A couple simple tests to confirm the changes @aosmith16 to predict are working. I made the assumption that if scale in formulas works, then other functions should as well. If that's not necessarily true we may need more tests. I tested only occu since the other fitting functions used basically the exact same new code. And finally I added tests to occuTTD, which uses the colext predict method, just to make sure the pass-through trick I was using works with these changes. Along with the other 2 PRs I sent recently (#158, #159), I think we can safely close #29, #115, and #155