CenterXYInCell: CenterXYInCell

Description Usage Arguments Value

View source: R/move.R

Description

Centers x and y values into the center of a raster cell based on the xmin, ymin, and cellsize parameters

Usage

1
CenterXYInCell(x, y, xmin, ymin, cellsize)

Arguments

x

x value

y

y value

xmin

minimum value of x that establishes the grid arrangement

ymin

minimum value of y that establishes the grid arrangement

cellsize

cell size in units of the x and y values

return

character, what to return ("x", "y", or "xy"). "xy" is default

Value

vector x, y, or c(x,y)


Blakemassey/ibmr documentation built on Dec. 25, 2021, 8:39 a.m.