index-class {Matrix} | R Documentation |
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
.
See Also
[
, [-methods
, and
[<–methods
.
Examples
showClass("index")
[Package Matrix version 1.7-1 Index]