Calculates the city block distance between two matrices.
cbdist city block distance between x and y
x <- matrix(0, nrow = 5, ncol = 7)
y <- matrix(1, nrow = 5, ncol = 7)
y <- matrix(c(rep(0, 15), rep(1, 20)), nrow = 5, ncol = 7)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.