nbcost(data, id, id.neigh, method = c("euclidean", "maximum",
"manhattan", "canberra", "binary", "minkowski", "mahalanobis",
"other"), p = 2, cov, inverted = FALSE, otherfun)
nbcosts(nb, data, method = c("euclidean", "maximum",
"manhattan", "canberra", "binary", "minkowski", "mahalanobis",
"other"), p = 2, cov, inverted = FALSE, otherfun)nb class. See poly2nb for
details.iddist for details,
because this function as used to compute the dinbdist class. See nbdists for
details.nbdists, nb2listw