Matrix | R Documentation |
This function constructs a symbolic matrix (DenseMatrix
S4 object)
with a similar interface with R's matrix
function.
Matrix(data, nrow = 1L, ncol = 1L, byrow = FALSE)
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. |
DenseMatrix
S4 object.