Description Slots References Examples
Server language code will return a dictionary in which data= is a JSON-style list
and type= is the R vector type desired. See the asRObject() method documentation.
Objects from this class can also be generated in R, usually supplying just data
and generating the other slots from that object's properties.
data
The actual vector data.
type
The string for the R type intended. In spite of the slot name, this really the class; for example, "numeric" rather than "double".
missing
The index of NA's in this vector. Needed because most server languages only treat 'NaN' for doubles and have no mechanism for 'NA' in other types.
Chambers, John M. (2016) Extending R, Chapman & Hall/CRC. ( Chapter 13, discussing this package, is included in the package: ../doc/Chapter_XR.pdf.)
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.