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)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.