l_context_add_slicing2d: Create a slicind2d navigator context

View source: R/l_context2d.R

l_context_add_slicing2dR Documentation

Create a slicind2d navigator context

Description

The slicing2d context implements slicing using navigation graphs and a scatterplot to condition on one or two variables.

Contexts are in more detail explained in the webmanual accessible with l_help. Please read the section on context by running l_help("learn_R_display_graph.html#contexts").

Usage

l_context_add_slicing2d(navigator, ...)

Arguments

navigator

navigator handle object

...

arguments passed on to modify context states

Value

context handle

Examples

if(interactive()){

names(oliveAcids) <- c('p','p1','s','o','l','l1','a','e')
nodes <- apply(combn(names(oliveAcids),2),2,
              function(x)paste(x, collapse=':'))
G <- completegraph(nodes)
g <- l_graph(G)
nav <- l_navigator_add(g)
con <- l_context_add_slicing2d(nav, data=oliveAcids)

# symmetric range proportion around nav['proportion']
con['proportion'] <- 0.2

con['conditioning4d'] <- "union"
con['conditioning4d'] <- "intersection"
}


loon documentation built on July 9, 2023, 5:48 p.m.