check.distance.matrix: Fix off-diagonal zeros in distance matrix

Description Usage Arguments Value Author(s) See Also

View source: R/hmob_funcs.R

Description

This function checks the distance matrix produced by the get.distance.matrix function for off-diagonal zeros. The function fills in zeros with nearby locations from the same admin unit.

Usage

1

Arguments

D

distance matrix produced by the get.distance.matrix function

Value

the same distance matrix with zeros fixed

Author(s)

John Giles

See Also

Other utility: get.admin.level(), get.legend(), get.names(), get.pop.vec(), get.unique.coords(), get.unique.names(), load.obj(), rjags.combine(), rjags.mcmc.list(), see(), trip.map()


gilesjohnr/hmob documentation built on Aug. 8, 2020, 1:26 a.m.