Learn R Programming

Matrix (version 1.7-1)

index-class: Virtual Class “index” of Index Vectors

Description

Class index is a virtual class designating index vectors, or “subscripts”, for (possibly named) vectors and arrays. It is typically used in signatures of methods for the subscript and subassignment operators, namely [ and [<-. It is implemented as a union of the atomic vector classes numeric, logical, and character.

Arguments

See Also

[, [-methods, and [<--methods.

Examples

Run this code
showClass("index")

Run the code above in your browser using DataLab