l_layer_getType | R Documentation |
To see the manual page of l_layer
for all the
primitive layer types.
l_layer_getType(widget, layer)
widget |
widget path or layer object of class |
layer |
layer id. If the widget argument is of class |
For more information run: l_help("learn_R_layer")
One of: 'group'
, 'polygon'
, 'text'
,
'line'
, 'rectangle'
, 'oval'
, 'points'
,
'texts'
, 'polygons'
, 'rectangles'
, 'lines'
and
'scatterplot'
, 'histogram'
, 'serialaxes'
and
'graph'
.
l_layer
if(interactive()){
p <- l_plot()
l <- l_layer_rectangle(p, x=0:1, y=0:1)
l_layer_getType(p, l)
l_layer_getType(p, 'model')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.