sonlayer | R Documentation |
This function creates layers to be added onto a
sonify
object. It is most easy to use through the
shape_
convenience functions, such as
shape_scatter
.
sonlayer(shape = "scatter", data = NULL, mapping = NULL,
...)
shape |
A character string representing the overall
style of the audio plot (analogous to |
data |
The |
mapping |
A |
... |
Additional options and settings specific to the shape |
sonlayer
scalingsEach shape has its own default scalings (see
link{.getShapeDef}
to view these defaults. It's
quite possible that some default scalings for a parameter
differ between scalings; if this is the case, the default
scaling for the earlier sonlayer
type, as it
appears in the $sonlayers
slot of a sonify
object, takes precedence.
Default scalings are, of course, ignored when they are
explicitly declared; if you don't like the behavior of a
default scaling you can always define your own (see
sonscaling
.
This functionality is most easily accessed through its
shortcut functions, the shape_
shapename
functions, currently: shape_scatter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.