move_statistics: move_statistics

Description Usage Arguments Value Examples

Description

Alias for move_stats

Usage

1
2
move_statistics(graph, from, green_polys, d_threshold = 1,
  quiet = TRUE)

Arguments

graph

Street network in dodgr format obtained through applying dodgr::weight_streetnet to an osmdata_sc object.

from

Vector of points from which moveability statistics are to be be calculated.

green_polys

Polygons of green space obtained from get_green_space

d_threshold

Distance threshold below which distances are to be aggreagted (in kilometres).

quiet

If TRUE, dump progress information to screen.

Value

Vector of moveability values for each point in from, with moveability quantified as $m.

Examples

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 

ATFutures/moveability documentation built on Feb. 20, 2022, 1:06 p.m.