l_layer_getParent {loon} | R 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 |
layer |
layer id. If the widget argument is of class |
See Also
Examples
if(interactive()){
p <- with(iris, l_plot(Sepal.Length ~ Sepal.Width, color=Species))
l_layer_getParent(p, 'model')
}
[Package loon version 1.4.1 Index]