# NOT RUN {
mat <- matrix(1:6, ncol = 2,
dimnames = list(c("b", "a", "d"),
c("ca", "cb"))
)
match_labels(mat, c("a","b", "d"), c("ca","cb"))
#Using matrices
data(drugtarget)
out <- match_labels(drugTargetInteraction, targetSim, drugSim)
# }
Run the code above in your browser using DataLab