rbchan / unmarked

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

fitList validity testing now works with all fit types #148

Closed kenkellner closed 4 years ago

kenkellner commented 4 years ago

Fixes #147 and cleans up an ugly workaround I wrote earlier.

rbchan commented 4 years ago

I wonder if we should eventually store formulas as a simple named list? These compound formulas are kind of a pain.

kenkellner commented 4 years ago

Some of the fitting functions do this already (eg colext), but then don't actually use the list for anything other than storage. I think standardizing all internal functions to expect a list of formulas would be great. It's a big job, though, because most fitting functions (at least the newer ones) currently handle things a bit differently from each other.