Learn R Programming

ddgraph (version 1.16.0)

customPlotPCAlgo: Custom plotting for pcalgo

Description

Custom plotting function of PC algorithm to have nice highlighting

Usage

customPlotPCAlgo(x, main, labels, colors, ...)

Arguments

x
an object of one of the pcalg classes
main
the main title
labels
the labels of each of the nodes (doesn't need to be a named vector)
colors
the colors we want to assign to each node (doesn't need to be a named vector)
...
additional parameters to pass to layoutGraph()