Skip to content

Generic functions, improved docs and generalized inverse matrix

Latest
Compare
Choose a tag to compare
@dkesada dkesada released this 07 Oct 07:42
· 8 commits to master since this release

In this release, generic functions have been added for the "dbn" and "dbn.fit" S3 classes. In addition, most of the methods exported for "bn" and "bn.fit" classes from bnlearn are now explicitly extended in dbnR so that they work for DBNs too. The documentation has been sanitized, in the sense that private functions no longer appear on calls to help(package = "dbnR") and exported functions have had their documentation improved. The calculation of the approximate inverse matrix in the exact inference mechanism now usses the function MASS::ginv() instead of a call to solve with less TOL. Several other quality of life improvements have been made, like a fix on forecasting plots to avoid having the predicted values outside the plot window or an argument that allows to plot a DBN with the naming convention reversed, so that the oldest time slice is t_0 instead of the most recent.