The toplevel parent is the 'root'
layer.
Examples
if(interactive()){
p <- with(iris, l_plot(Sepal.Length ~ Sepal.Width, color=Species))
l_layer_getParent(p, 'model')
}
The toplevel parent is the 'root'
layer.
if(interactive()){
p <- with(iris, l_plot(Sepal.Length ~ Sepal.Width, color=Species))
l_layer_getParent(p, 'model')
}