spotCellDensities: Calculate the neighborhood density around each cell

Description Usage Arguments Value

View source: R/derivedParameter_functions.R

Description

Calculate the neighborhood density around each cell

Usage

1
spotCellDensities(spot, radius = (max(spot$X) - min(spot$X))/5)

Arguments

spot

A datatable with X and Y columns

radius

The radial distance that defines the neighborhood around the cell

Value

A numeric vector of length nrow(spot) with the cell density values


kdaily/MEMA documentation built on May 20, 2019, 8:28 a.m.