adjacent_join: Given a table representing a grid, join to adjacent cells in...

View source: R/adjacent.R

adjacent_joinR Documentation

Given a table representing a grid, join to adjacent cells in the grid

Description

Given a table representing a grid, join to adjacent cells in the grid

Usage

adjacent_join(x, y = x, diagonal = FALSE, suffix = c("", "2"))

Arguments

x

A table with columns for row and col

y

A second table with columns row and col. By default, does a self-join

diagonal

Whether diagonal cells are counted as adjacent

suffix

By default, "" and "2"


dgrtwo/adventdrob documentation built on Jan. 3, 2023, 7:27 a.m.