Learn R Programming

abn (version 3.0.1)

plot.abnDag: Plots DAG from an object of class abnDag

Description

Plots DAG from an object of class abnDag

Usage

# S3 method for abnDag
plot(x, new = TRUE, ...)

Value

Rgraphviz::plot

Arguments

x

Object of class abnDag

new

defaults to TRUE for opening a new plot.

...

additional parameters. Not used at the moment.

Examples

Run this code
mydag <- createAbnDag(dag = ~a+b|a, data.df = data.frame("a"=1, "b"=1))
plot(mydag)

Run the code above in your browser using DataLab