RSurvey (version 0.9.3)

DefineGrid: GUI: Define Interpolation Grid

Description

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

Usage

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.

Examples

Run this code
# NOT RUN {
  DefineGrid()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab