index-class function

Virtual Class index of Index Vectors

Virtual Class index of Index Vectors

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.

class

See Also

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

Examples

showClass("index")
  • Maintainer: Martin Maechler
  • License: GPL (>= 2) | file LICENCE
  • Last published: 2025-03-11