RdsS4Object

RdsS4Object

S4 object from R, containing slot data in its attributes.

Extends

Classes

RdsS4Object

Methods

attribute(i) → {RdsObject}

Source:
Parameters:
Name Type Description
i number | string

Index or name of the attribute of interest.

Returns:

Value of the attribute.

Type
RdsObject

attributeNames() → {Array}

Source:
Returns:

Names of all attributes.

Type
Array

className()

Source:

Name of the R class.

findAttribute(name) → {number}

Source:
Parameters:
Name Type Description
name string

Name of the attribute of interest.

Returns:

Index of name in the array of attributes from attributeNames. If name is not present, -1 is returned.

Type
number

free()

Source:
Overrides:

Free the memory on the Wasm heap for this object.

packageName()

Source:

Name of the package that defines the class.

type() → {string}

Source:
Overrides:
Returns:

Type of the object.

Type
string