Options for diag.
Optional
Number of columns of the matrix built from a vector or a number (R's ncol). Default: nrow.
ncol
nrow
Number of rows of the matrix built from a vector or a number (R's nrow). Default: the length of the vector.
Options for diag.