noneIndex-class {externalVector} | R Documentation |
When used as a subscript for a vector object
or for any dimension of an array object
this is equivalent to integer(0)
.
Objects can be created by calls of the form new("noneIndex")
.
Objects from this class can not be modified and they are all equivalent.
.Data
:"integer"
, this is
always equal to integer(0)
.
Class "integer"
, directly.
Class "vectorIndex"
, directly.
Signature components for the methods are:
x | The class "allIndex" |
scalar | Length one positive "integer" |
i | The class "ANY" |
value | The class "ANY" |
.Object | The class "allIndex" |
x+scalar
:scalar
to x
.
Result is x
. scalar+x
:scalar
to x
.
Result is x
. x*scalar
:x
by scalar
.
Result is x
. scalar*x
:x
by scalar
.
Result is x
. x
. If value is of
length 2, this may create a "matrixIndex". x[i]
:"NAIndex"
of length same as
length(integer(0)[i])
. x[]
:x[i] <- value
:"noneIndex"
are not mutable. x[[i]] <- value
:"noneIndex"
are not mutable. allNA(x)
:x
NA
? Result is
always FALSE
. anyNA(x)
:x
NA
? Result is
always FALSE
. initialize(.Object)
:"allIndex"
. length(x)
:x
which is always
0
. length(x) <- value
:x
. Always
results in an error.
vectorIndex-class
for the super class of "noneIndex"
.