sparsebnUtils: sparsebnUtils: Utilities for the sparsebn package.

Description Details


A set of tools for representing and estimating sparse Bayesian networks from continuous and discrete data.


This package provides various S3 classes for making it easy to estimate graphical models from data:

  • sparsebnData for managing experimental data with interventions.

  • sparsebnFit for representing the output of a DAG learning algorithm.

  • sparsebnPath for representing a solution path of estimates.

The package also provides methods for manipulating these objects and for estimating parameters in graphical models:

  • estimate.parameters for directed graphs.

  • get.precision for undirected graphs.

  • get.covariance for covariance matrices.

Internally, all graph objects may be stored as edgeLists (default), or using graphNEL, igraph, bnlearn, or network objects.

Search within the sparsebnUtils package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.