rasterize_scatter: Assign points to a grid

rasterize_scatterR Documentation

Assign points to a grid

Description

takes a point pattern and a raster object as input and assigns each point to a cell of the raster object.

Usage

rasterize_scatter(scatter, r, nx)

Arguments

scatter

data.frame with x,y coordinates for a point pattern

r

A 'raster' object

nx

Number of cells to interpolate over across the x axis

Value

data.frame object with point pattern and associated grid.cell number


jbergenstrahle/STUtility documentation built on March 14, 2023, 7:15 a.m.