This reports the p-median set
1 |
swdf1 |
- first Spatial* or Spatial*DataFrame objects - the 'demand' set |
swdf2 |
- second Spatial* or Spatial*DataFrame objects - the 'supply' set (if omitted, defaults to the same value as |
p |
- either a guess at the initial p-median set of a single integer indicating the size of the set (which is then chosen randomly) |
metric |
- the distance matrix (defaults to Euclidean computed via |
verbose |
- if TRUE print out each swap in the algorithm (default is FALSE) |
Set of point indices for p-median (may be local optimum)
1 2 3 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.