st_manual_join_nb {sfislands}R Documentation

Manually enforce contiguity between two areas

Description

Manually enforce contiguity between two areas

Usage

st_manual_join_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_join_nb("Gower","St Ives")

[Package sfislands version 1.0.0 Index]