l_layer_getParent | R Documentation |
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 |
l_layer
, l_layer_getChildren
if(interactive()){
p <- with(iris, l_plot(Sepal.Length ~ Sepal.Width, color=Species))
l_layer_getParent(p, 'model')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.