cbreto / panelPomp

R package for statistical inference using panelPOMPs (panel Partially Observed Markov Processes)
11 stars 6 forks source link

refactoring to allow smoother user interface #15

Closed kingaa closed 6 years ago

kingaa commented 6 years ago

There are still some problems with possible discrepancies between the pomp params slot and the panelPomp parameters. In this pull request, the panelPomp constructor deletes the params in the pomp. This causes an error in pomp::mif2 unless the slot is refilled. This fix seems not to go to the root of the problem, which is that there is little to stop a mismatch arising between the two locations, with consequent (potentially hard to debug) bugs.

cbreto commented 6 years ago

Thanks Aaron!