add_local_density: Add local density

Description Usage Arguments

View source: R/utilityFunctions.R

Description

Add a column of local density to a data frame

Usage

1
add_local_density(.data, x, y, var = "local_density", sort_output = TRUE)

Arguments

.data

input data frame

x

unquoted column name of variable to use for the x-variable

y

unquoted column name of variable to use for the y-variable


andrewGhazi/ghzutils documentation built on Nov. 30, 2020, 5:23 a.m.