gridCell.Rd
Extract covariate grid cell
gridCell(loc, xgrid, ygrid, covmat)
loc | Location |
---|---|
xgrid | Grid along x axis |
ygrid | Grid along y axis |
covmat | Covariate values on (xgrid,ygrid) |
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).