Learn R Programming

abn (version 3.1.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, ...)

Value

Rgraphviz::plot

Arguments

x

Object of class abnDag

...

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),
                      data.dists = list(a="binomial", b="gaussian"))
plot(mydag)

Run the code above in your browser using DataLab