l_layer_getParent: Get parent layer id of a layer

View source: R/l_layer.R

l_layer_getParentR Documentation

Get parent layer id of a layer

Description

The toplevel parent is the 'root' layer.

Usage

l_layer_getParent(widget, layer)

Arguments

widget

widget path or layer object of class 'l_layer'

layer

layer id. If the widget argument is of class 'l_layer' then the layer argument is not used

See Also

l_layer, l_layer_getChildren

Examples

if(interactive()){

p <- with(iris, l_plot(Sepal.Length ~ Sepal.Width, color=Species))

l_layer_getParent(p, 'model')

}

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