st_manual_cut_nb {sfislands}R Documentation

Manual remove contiguity between two areas

Description

Manual remove contiguity between two areas

Usage

st_manual_cut_nb(nb, x, y)

Arguments

nb

a neighbourhood '"list"' or '"matrix"', or an 'sf' dataframe with a neighbourhood column called '"nb"'.

x

name or number of first area.

y

name or number of second area.

Value

An amended neighbourhood '"list"', '"matrix"', or 'sf' dataframe with a neighbourhood column called '"nb"'.

Examples

st_bridges(uk_election,"constituency_name") |>
st_manual_cut_nb("Ynys Mon","Arfon") |>
st_manual_cut_nb(292,378)

[Package sfislands version 1.0.0 Index]