| walk_compute_reach | R Documentation |
Computes the total walkable network length lying within each node's isochrone (default 10-minute walk at 4.5 km/h, ~750 m budget). The calculation runs in parallel using compiled Rust and applies the exact partial-edge credit rule, crediting crossing frontier edges for only their reachable fraction.
walk_compute_reach(
network,
time_min = 10,
cutoff_s = NULL,
target = c("largest_component", "all"),
n_threads = 2L,
verbose = TRUE
)
network |
A |
time_min |
Walking time budget in minutes (default is 10.0 minutes). Users can freely customize this parameter; for smaller neighborhoods, compact districts, or localized analyses, values like 5.0 or 7.5 minutes can be used. |
cutoff_s |
Optional walking time budget in seconds (e.g. 600.0). If specified,
it overrides |
target |
Character string. Either |
n_threads |
Number of CPU threads to use in parallel, from 1 to 2. The default is 2, the maximum permitted during CRAN checks. |
verbose |
Logical. If |
A walk_reach S3 object containing:
nodes |
|
edges |
|
summary |
Summary statistics (min, mean, max, 5th, 95th percentiles). |
time_min |
The time cutoff in minutes. |
cutoff_s |
The time cutoff in seconds. |
network |
The input |
data(streets_cusco)
net <- walk_build_network(streets_cusco, verbose = FALSE)
reach <- walk_compute_reach(net, time_min = 5, verbose = FALSE)
print(reach)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.