shared_boundaries_length: Computes the length of shared boundaries between a parcel and...

Description Usage Arguments Value

View source: R/prep_data.R

Description

Computes the length of shared boundaries between a parcel and its neighbors

Usage

1
shared_boundaries_length(df, i, ngbrs, boundary_col = "boundary")

Arguments

df

a spatial dataframe, containing a variable named by boundary_col (defaulting to "boundary") which is a LINES object

i

the row index in df of the parcel of interest

nghrs

the indices of neighbors of df[i, ] in df

Value

a units vector containing boundary lengths in meters


bsaul/conservation_spillover documentation built on Feb. 26, 2021, 1:28 p.m.