layers | R Documentation |
An S4 class to represent a collection of single elements in a graphic;
layer(...) ## S4 method for signature 'layer' initialize( .Object, ..., style = list(), visible = TRUE, units = list(), data = list(), action = list(), build = list(), display = list(), components = list(), layers = list(), frames = integerSet() ) ## S4 method for signature 'layer,component' e1 + e2 ## S4 method for signature 'layer,component' e1 - e2 layer(...)
components, ... |
These parameters are merged into the components slot. |
layers, style, units, functions, visible |
parameters for the constructor new("layer") go directly into the relevant slots |
frames |
If this is an integerSet, it goes directly into the relevant slot. If it is a numeric vector it is converted into an integerSet for you. |
The default layer made by the constructor completely empty, with no parameters, no components, no sublayers, no functions, no units. It is active and plotted on every frame.
components
A list of components contained in the layer
layers
A list of layers contained in the layer
units
A list of units inherited by components and layers in this layer
data
a list of parameters inherited by components and layers in this layer
style
a list of parameters inherited by components and layers in this layer
visible
logical. If FALSE the layer isn't plotted.
action
list. Functions that act on the layer or its data or its components.
build
list.
display
list.
frames
an integerSet. The set of frames the layer can be displayed in, (assuming visible is TRUE).
print(1+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.