Description Usage Arguments Value Examples
Calculate vector of moveability statistics for a given input street network.
1 2 | move_stats(graph, from, green_polys, activity_points, d_threshold = 1,
quiet = FALSE)
|
graph |
Street network in dodgr format obtained through applying
|
from |
Vector of points from which moveability statistics are to be be calculated. |
green_polys |
Polygons of green space obtained from get_green_space |
activity_points |
Points of activity obtained from get_attractors. |
d_threshold |
Distance threshold below which distances are to be aggreagted (in kilometres). |
quiet |
If |
Vector of moveability values for each point in from
, with
moveability quantified as $m
.
1 2 3 4 5 6 7 8 | graph <- dodgr::weight_streetnet (castlemaine)
green_polys <- castlemaine_green # green polygon data included with package
activity_points <- castlemaine_attr # activity attractors included with package
from <- sample (graph$.vx0, size = 100)
d <- move_stats (graph, green_polys = green_polys,
activity_points = activity_points, from = from)
# d is a `data.frame` of the coordinates of all `from` points and
# correponding moveability statisics
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.