These are my two text matrices:
A <- matrix(c("AIP-A","CSV-A"), ncol = 1, byrow = TRUE)
B <- matrix(c("AIP-B","CSV-B"), ncol = 1, byrow = TRUE)
I am trying to get the multiplication of these matrices and the output should look like this:
AIP-A,AIP-B
AIP-A,CSV-B
CSV-A,AIP-B
CSV-A,CSV-B
A*B does not work because it is looking for numeric inputs. Maybe the same result can be achieved by some other technique. I am ok with 4x2 output matrix, a 4x1 matrix ,a character vector, data.frame and data.table