Rdocumentation
powered by
Learn R Programming
JBTools (version 0.7.2.9)
indexVec2Matrix: Transform a vector index to an index matrix
Description
Transform an index vector into a index matrix.
Extract
Usage
indexVec2Matrix(index, dim)
Arguments
index
vector index
dim
length of the two dimensions of the array to index. Identical to the result of dim(array).
Value