initialize,GaugeBand-method | R Documentation |
Uses the constructor to create the object or update an existing one with the setters.
## S4 method for signature 'GaugeBand'
initialize(.Object, alpha = 1, id, ...)
gaugeBand(alpha = 1, id, ...)
setID(.Object, id)
## S4 method for signature 'GaugeBand'
setID(.Object, id)
.Object |
GaugeBand (or "GaugeBand" for initialize). |
alpha |
|
id |
|
... |
other properties of GaugeBand. |
(updated) .Object of class GaugeBand.
# --- method 'initialize'
new("GaugeBand")
# --- constructor
gaugeBand(alpha = 2, id = "band2")
# --- set the 'id'
setID(.Object = gaugeBand(), id = "1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.