l_navgraph {loon}R Documentation

Explore a dataset with the canonical 2d navigation graph setting

Description

Creates a navigation graph, a graphswitch, a navigator and a geodesic2d context added, and a scatterplot.

Usage

l_navgraph(data, separator = ":", graph = NULL, ...)

Arguments

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

Details

For more information run: l_help("learn_R_display_graph.html#l_navgraph")

Value

named list with graph handle, plot handle, graphswitch handle, navigator handle, and context handle.

Examples

if(interactive()){

ng <- l_navgraph(oliveAcids, color=olive$Area)
ng2 <- l_navgraph(oliveAcids, separator='-', color=olive$Area)

}

[Package loon version 1.4.1 Index]