RdsVector

RdsVector

Vector-like R object.

Extends

Classes

RdsVector

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

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.

length()

Source:

type() → {string}

Source:
Overrides:
Returns:

Type of the object.

Type
string