Closed mpadge closed 5 years ago
🎉 Looks good to me, thanks Mark! :)
Pleasure. I'm going to update dodgr so the facility data can just be submitted straight to dodgr_dists
, without needing the separate match_points_to_graph
calls. I'll get another dodgr
on CRAN pretty soon, and then be able to simplify the examples
Description
Adds 2 more parameters to the
max_coverage
function:d_existing_user
; andd_proposed_user
These are explained in updated
man
entriesExample
Here's a reprex:
Created on 2019-11-08 by the reprex package (v0.3.0)
All measures are reduced, simply because 100m of street distance is equivalent to using a lower value of
dist_threshold
in the first model. Alternatively, just put indist_threshold = 125
in the model with the distance matrices and you'll get the same number of users covered (540). Distances to facilities nevertheless remain greater, again coz of street distances.Tests
... sorry, ain't got no tests, because that requires some kind of distance matrices to be used. We can discuss that later.