Pad a matrix with additional rows/columns of NA values

.na_pad_matrix(m, row_universe = NULL, col_universe = NULL)

Arguments

m

a matrix with unique row and column names

row_universe

a vector with the universe of possible row names

col_universe

a vector with the universe of possible column names

Value

a matrix