Learn R Programming

sparsebnUtils (version 0.0.8)

setPlotPackage: Change default plotting mechanism

Description

Changes the default plotting mechanism used by sparsebn to plot output and fitted objects.

Usage

setPlotPackage(pkg)

getPlotPackage()

Arguments

pkg

The desired package; default value is igraph.

Functions

  • getPlotPackage: Returns the current choice of plotting mechanism

Details

For plotting, sparsebn can use one of three packages: graph (see also Rgraphviz), igraph (see plot.igraph), and network-package (see plot.network). Note that plotting requires that (at least one of) these extra packages are installed.

See Also

setGraphPackage, getGraphPackage