powered by
Interactive graphs in loon are currently most often used for navigation graphs.
l_graph(nodes, ...)# S3 method for graph l_graph(nodes, ...)# S3 method for loongraph l_graph(nodes, ...)# S3 method for default l_graph(nodes = "", from = "", to = "", isDirected = FALSE, parent = NULL, ...)
# S3 method for graph l_graph(nodes, ...)
# S3 method for loongraph l_graph(nodes, ...)
# S3 method for default l_graph(nodes = "", from = "", to = "", isDirected = FALSE, parent = NULL, ...)
graph handle
object for method dispatch
arguments passed on to methods
vector with node names of the from-to pairs for edges
a boolean state to specify whether these edges have directions
parent widget of graph display
For more information run: l_help("learn_R_display_graph.html#graph")
l_help("learn_R_display_graph.html#graph")
Other related graph objects, loongraph, completegraph, linegraph, complement, as.graph
loongraph
completegraph
linegraph
complement
as.graph
Advanced usage l_navgraph, l_ng_plots, l_ng_ranges
l_navgraph
l_ng_plots
l_ng_ranges
if(interactive()) { G <- completegraph(nodes=names(iris)) LG <- linegraph(G, sep=":") g <- l_graph(LG) }
Run the code above in your browser using DataLab