Interactive plot of an (un)directed graph {MXM} | R Documentation |
Interactive plot of an (un)directed graph
Description
Interactive plot of an (un)directed graph.
Usage
plotnetwork(G, titlos)
Arguments
G |
The adjacency matrix as produced from |
titlos |
A character argument specifying the title of the graph, for example "PC network". |
Details
This visualises the directed graph.
Value
The plot of the directed graph. This is interactive, in the sense that the user can "play" with it. Move the nodes, zoom it, strectch it etc.
Author(s)
Michail Tsagris
R implementation and documentation: Giorgos Athineou <athineou@csd.uoc.gr> and Michail Tsagris mtsagris@uoc.gr
See Also
Examples
## Not run:
# simulate a dataset with continuous data
dataset <- matrix( runif(200 * 20, 1, 100), nrow = 200 )
a <- mmhc.skel(dataset, max_k = 3, threshold = 0.05, test = "testIndFisher",
nc = 1)
plotnetwork(a$G)
plotnetwork(a$G, titlos = "DAG skeleton")
## End(Not run)
[Package MXM version 1.5.5 Index]