loon (version 1.3.3)

plot.loongraph: Plot a loon graph object with base R graphics

Description

This function converts the loongraph object to one of class graph and the plots it with its respective plot method.

Usage

# S3 method for loongraph
plot(x, ...)

Arguments

x

object of class loongraph

...

arguments forwarded to method

Examples

Run this code
# NOT RUN {
if (requireNamespace("Rgraphviz", quietly = TRUE)) {
  g <- loongraph(letters[1:4], letters[1:3], letters[2:4], FALSE)
  plot(g)
}
# }

Run the code above in your browser using DataLab