ra_cell_number: Function to extract a raster object's cell number for spatial...

View source: R/ra_cell_number.R

ra_cell_numberR Documentation

Function to extract a raster object's cell number for spatial points.

Description

Function to extract a raster object's cell number for spatial points.

Usage

ra_cell_number(ra, sp)

Arguments

ra

A raster object.

sp

A SpatialPointsDataFrame object.

Value

sp with an extra cell_raster variable in the data slot.

Author(s)

Stuart K. Grange


skgrange/gissr documentation built on June 20, 2024, 12:02 a.m.