indirectExternalMatrix-class {externalVector} | R Documentation |

Objects from this class store an object of class
`"externalVector"`

and a matrix subscript for that object and
behaves as if this is an object created by applying that subscript.

Objects can be created by calls of the form
`as("indirectExternalMatrix", vec)`

where `vec`

is an object
of class `"externalVector"`

.

`actual`

:- Object of class
`"externalVector"`

, the actual object of which this is a subset `index`

:- Object of class
`"matrixIndex"`

, the vector subscript to get the subset.

Class `"externalVector"`

, directly.

- e1 op e2
- For any arithmetic or comparison operation
`op`

this returns the result of the operation. Either (or both) of`e1`

and`e2`

are of class`"indirectExternalMatrix"`

. - Complex(z)
- Return the result of an operation in the
`Complex`

group generic. - Math(x)
- Return the result of an operation in the
`Math`

group generic. - log(x)
- Return natural logarithm of
`x`

. - log(x, base)
- Return logarithm of
`x`

with base`base`

. - x[i, j, ..., drop=FALSE]
- Extract a subset of
`x`

according to the given subscripts. - x[i, j, ...] <- value
- Subassign of
`x`

by`value`

according to the given subscripts. This assigns to the correct elements of`x@actual`

. - as.Rvector(x)
- Coerce
`x`

to a basic R vector with same names, dimension and dimnames (if any of these are present in`x`

). - as.vector(x, mode)
- Return an R basic vector with mode
`mode`

. - as.matrix
- Return a matrix of appropriate mode .
- length(x)
- Return the length of
`x`

. - length(x) <- value
- Set the length of
`x`

to`value`

. - dim(x)
- Return the dimension of
`x`

. - dim(x) <- value
- Set the dimension of
`x`

to`value`

. - dimnames(x)
- Return the dimnames of
`x`

. - dimnames(x) <- value
- Set the dimnames of
`x`

to`value`

. - getExternalStorage(x)
- Return the
`storage`

slot of associated with`x@actual`

. - is.finite(x)
- Return a vector of logicals with same
length as
`x`

indicating if an element of`x`

is finite. - is.infinite(x)
- Return a vector of logicals with same
length as
`x`

indicating if an element of`x`

is infinite. - is.na(x)
- Return a vector of logicals with same
length as
`x`

indicating if an element of`x`

is`NA`

. - is.nan(x)
- Return a vector of logicals with same
length as
`x`

indicating if an element of`x`

is`NaN`

. - force
- return the result of
`force(x@actual)[x@index]`

. - all(x, ..., na.rm)
- Are all the values
`TRUE`

? - any(x, ..., na.rm)
- Are any of the values
`TRUE`

? - min(x, ..., na.rm)
- Minima of the values.
- max(x, ..., na.rm)
- Maxima of the values.
- range(x, ..., na.rm)
- Range of the values.
- prod(x, ..., na.rm)
- Product of the values.
- sum(x, ..., na.rm)
- Sum of the values.

`indirectExternalVector-class`

for the matrix class
corresponding to this.

[Package *externalVector* version 1.0.14 Index]