DefineGrid: GUI: Define Interpolation Grid

Description Usage Arguments Value Author(s) Examples

Description

A graphical user interface (GUI) for defining the interpolation grid.

Usage

1
DefineGrid(grid = NULL, parent = NULL)

Arguments

grid

list. Interpolation grid object, see ‘Value’ section.

parent

tkwin. GUI parent window

Value

Returns an object of class list with the following components:

opt

an integer indicating the option that will be used to define the interpolation grid. Where opt = 1 indicates grid boundaries based on the extent of point data and a resolution of 100 rows and 100 columns; opt = 2 indicates grid boundaries based on the extent of point data and a cell resolution defined by the res component; opt = 3 indicates that the grid geometry is explicitly defined by the geo component.

res

numeric vector of length 2 with components x and y giving the grid spacing along the x- and y-axis, respectively.

geo

numeric vector of length 6 with components nrows and ncols giving the number of rows and columns, and xmn, xmx, ymn, and ymx giving the limits of the grid boundary along the x- and y-axis.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

1
2
3
4
## Not run: 
  DefineGrid()

## End(Not run)

USGS-R/RSurvey documentation built on May 9, 2019, 6:10 p.m.