seam_rip: Remove Edges along a Boundary

View source: R/seam.R

seam_ripR Documentation

Remove Edges along a Boundary

Description

Remove Edges along a Boundary

Usage

seam_rip(adj, shp, admin, seam, epsg = 3857)

Arguments

adj

zero indexed adjacency graph

shp

tibble where admin column is found

admin

quoted name of administrative unit column

seam

units to rip the seam between by removing adjacency connections

epsg

numeric EPSG code to planarize to. Default is 3857.

Value

adjacency list

Examples

data('rockland')
data('orange')
data('nrcsd')

o_and_r <- rbind(orange, rockland)
o_and_r <- o_and_r %>%
  geo_filter(nrcsd) %>%
  geo_trim(nrcsd)
adj <- adjacency(o_and_r)

seam_rip(adj, o_and_r, 'county', c('071', '087'))


christopherkenny/geomander documentation built on Feb. 18, 2024, 7:58 p.m.