powered by
The toplevel parent is the 'root' layer.
'root'
l_layer_getParent(widget, layer)
widget path or layer object of class 'l_layer'
'l_layer'
layer id. If the widget argument is of class 'l_layer' then the layer argument is not used
l_layer, l_layer_getChildren
l_layer
l_layer_getChildren
if(interactive()){ p <- with(iris, l_plot(Sepal.Length ~ Sepal.Width, color=Species)) l_layer_getParent(p, 'model') }
Run the code above in your browser using DataLab