Matrices
matrix(data = NA, nrow = 1, ncol = 1, byrow = FALSE, dimnames = NULL)
A "dual" object.
a positive integer; the desired number of rows.
a positive integer; the desired number of rows.
TRUE or FALSE; whether to fill the matrix by rows.
A dimnames attribute for the matrix: NULL or a list of length 2 giving the row and column names respectively. An empty list is treated as NULL, and a list of length one as row names. The list can be named, and the list names will be used as names for the dimensions.