Last data update: 2014.03.03

R: Transform a vector index to an index matrix
indexVec2MatrixR Documentation

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

index array

Author(s)

Jannis v. Buttlar

Results