R/l_navgraph.R
l_navgraph.Rd
Creates a navigation graph, a graphswitch, a navigator and a geodesic2d context added, and a scatterplot.
l_navgraph(data, separator = ":", graph = NULL, ...)
data | a data.frame with numeric variables only |
---|---|
separator | string the separates variable names in 2d graph nodes |
graph | optional, graph or loongraph object with navigation graph. If the graph argument is not used then a 3d and 4d transition graph and a complete transition graph is added. |
... | arguments passed on to modify the scatterplot plot states |
named list with graph
handle, plot
handle,
graphswitch
handle, navigator
handle, and context
handle.
For more information run: l_help("learn_R_display_graph.html#l_navgraph")
if(interactive()){ ng <- l_navgraph(oliveAcids, color=olive$Area) ng2 <- l_navgraph(oliveAcids, separator='-', color=olive$Area) }