Instrument | R Documentation |
Instrument Class
An R6Class
generator object
id
integer [optional]
name
Parameter [optional]
source
Parameter [optional]
analyzer
list( Parameter ) [optional]
detector
Parameter [optional]
new()
Create an Instrument
Instrument$new( id = NULL, name = NULL, source = NULL, analyzer = NULL, detector = NULL, ... )
id
Instrument id.
name
Instrument name Parameter.
source
Instrument source Parameter.
analyzer
Instrument analyzer list( Parameter )s.
detector
Instrument detector Parameter.
...
local optional variable arguments
toJSON()
Serialize to list object suitable for jsonlite
Instrument$toJSON()
fromJSON()
Deserialize from jsonlite list object
Instrument$fromJSON(InstrumentJson)
InstrumentJson
list object.
toJSONString()
Serialize to JSON string.
Instrument$toJSONString()
fromJSONString()
Deserialize from JSON string
Instrument$fromJSONString(InstrumentJson)
InstrumentJson
JSON string
toDataFrame()
Serialize to data frame
Instrument$toDataFrame()
fromDataFrame()
Deserialize from instrument data frame
Instrument$fromDataFrame(InstrumentDataFrame)
InstrumentDataFrame
Instrument data frame
clone()
The objects of this class are cloneable with this method.
Instrument$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.