Matrix: DenseMatrix Constructor
Description
This function constructs a symbolic matrix (DenseMatrix
S4 object)
with a similar interface with R's matrix
function.
Usage
Matrix(data, nrow = 1L, ncol = 1L, byrow = FALSE)
Value
DenseMatrix
S4 object.
Arguments
- data
A R object.
- nrow, ncol
Number of rows and columns.
- byrow
Boolean value. Whether the data should be filled by row or by column.