The toplevel parent is the 'root'
layer.
l_layer_getParent(widget, layer)
widget | widget path or layer object of class |
---|---|
layer | layer id. If the widget argument is of class |
if(interactive()){ p <- with(iris, l_plot(Sepal.Length ~ Sepal.Width, color=Species)) l_layer_getParent(p, 'model') }