| 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.
componentsA list of components contained in the layer
layersA list of layers contained in the layer
unitsA list of units inherited by components and layers in this layer
dataa list of parameters inherited by components and layers in this layer
stylea list of parameters inherited by components and layers in this layer
visiblelogical. If FALSE the layer isn't plotted.
actionlist. Functions that act on the layer or its data or its components.
buildlist.
displaylist.
framesan 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.