Convert a set of coords to a matrix
Usage
coords_to_matrix(
data,
row = data$row,
col = data$col,
maxRow = NULL,
maxCol = NULL
)
Arguments
- data
A vector of data
- row
A vector of row indices
- col
A vector of column indices
- maxRow
The row count for the resulting matrix
- maxCol
The column count for the resulting matrix
Value
A matrix of dimensions row,col with data