gridCell: Extract covariate grid cell

View source: R/bilinearGrad.R

gridCellR Documentation

Extract covariate grid cell

Description

Extract covariate grid cell

Usage

gridCell(loc, xgrid, ygrid, covmat)

Arguments

loc

Location

xgrid

Grid along x axis

ygrid

Grid along y axis

covmat

Covariate values on (xgrid,ygrid)

Value

List of two elements: coords (coordinates of bottom-left and top-right corners of the grid cell), and values (values of the covariate at the four corners of the grid cell).


papayoun/Rhabit documentation built on July 19, 2023, 8:04 p.m.