joinAdjacency: Join Document Adjacency

View source: R/joinAdjacency.R

joinAdjacencyR Documentation

Join Document Adjacency

Description

Convert a set of line segment "join decisions" into a weighted adjacency matrix describing which map unit symbols touch.

Usage

joinAdjacency(x, vars = c("l_musym", "r_musym"))

Arguments

x

data.frame or similar object, each row represents a single shared edge (typically sf LINESTRING feature)

vars

a vector of two characters naming columns containing "left", and "right" map unit symbols

Value

A weighted adjacency matrix is returned, suitable for plotting directly with plotSoilRelationGraph().

Author(s)

D.E. Beaudette

See Also

plotSoilRelationGraph()


ncss-tech/sharpshootR documentation built on April 9, 2024, 4:27 a.m.