pomp version 5.3 has been released to CRAN and is making its way to a mirror near you.
This release contains a number of feature enhancements and a few bug fixes.
Feature enhancements
-
This version adds the new basic component
dinitfor evaluating the probability density function of the initial-state distribution. There is a corresponding workhorse function,dinit(). -
The constructor
pompnow takes the optional argumentnstatevars, which can be used to increase the dimension of the latent state-vectors created byrinit. By default,nstatevars = length(statenames), andnstatevarscan only be used to increase, not to decrease, the dimension of the latent state process. Moreover,nstatevarshas no effect if therinitbasic component is furnished as an R function. -
The data frames returned by
cond_logLikandeff_sample_sizewhenformat="data.frame"have been improved. In particular, they contain (as variabletime) the times (rather than the index of the time vector as before). -
The new option
on_loadallows one to specify a C snippet that will be executed at the time the C snippet library is loaded. -
This release includes some cosmetic changes to the report generated by
spy. -
The manual pages have been reorganized, with improved cross-linking.
-
reulermultinomnow returnsNArather thanNaN, in keeping with the behavior ofrbinom. Thanks to John Drake for calling attention to this issue.
Internal changes
-
Internally, the
userdataare made available via calls topompLoadrather than within each call to apompworkhorse. -
Name checking on internally-created vectors and arrays is less strict than previously. In particular, it is possible to have variables without names (i.e.,
"").
Bug fixes
- A bug in
filter_trajetc. arising when not all state variables have names was fixed.