Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

index

Maps Each Column or Row Index of a Linked Matrix to the Column or Row Index of Its Corresponding Node


Description

If j for ColumnLinkedMatrix or i for RowLinkedMatrix is passed, it will only generate entries for the given indices. sort, which is set by default, determines whether j or i should be sorted before building the index.

Usage

index(x, ...)

Arguments

x

Either a ColumnLinkedMatrix or a RowLinkedMatrix object.

...

Additional arguments (see Details).

Value

A matrix.

See Also

ColumnLinkedMatrix-class, RowLinkedMatrix-class, and LinkedMatrix-class for more information on the ColumnLinkedMatrix, RowLinkedMatrix, and LinkedMatrix classes.


LinkedMatrix

Column-Linked and Row-Linked Matrices

v1.4.0
MIT + file LICENSE
Authors
Gustavo de los Campos [aut], Alexander Grueneberg [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.