maximizeMatrices.Rd
Created to add missing rows or columns to a matrix
maximizeMatrices(x, fillValue = 0)
maximizeMatrix(x, rowNames, colNames, fillValue = 0)
Either a single data frame or matrix (for maximizeMatrix
) or,
more commonly, a list of data frames or matrces (for maximizeMatrices
).
The value to fill the new rows and columns with
The names or the rows and columns as they should be in the final result
A matrix with the specified rows and columns