Learn R Programming

RSurvey (version 0.5.0)

polyAutocrop: Set Autocrop Input Parameters

Description

A GUI for specify input parameters and running the autocrop function.

Usage

polyAutocrop(dat, xlab = NULL, ylab = NULL, zlab = NULL, parent)

Arguments

dat
list; its components x$x and x$y are used to specify x and y coordinates of the mesh vertices, respectively.
xlab
character; the label for the x axis
ylab
character; the label for the y axis
zlab
character; the label for the z legend
parent
tkwin; the parent window (optional)

Value

  • Returns a polygon object of class gpc.poly.

Details

The maximum outer arc length for a cell and the maximum number of iterations are stopping criteria for the autocrop algorithm. The default maximum arc length is determined by the maximum outer length within the Delaunay triangulation mesh. Entering arc lengths less than the default will reduce the area of the polygon. A point plot shows the resulting polygon based on the user defined input parameters.

See Also

tri.mesh, autocrop, plotSurvey2d

Examples

Run this code
data(project)
d <- srvy.dat("data.grd")
polyAutocrop(d)

Run the code above in your browser using DataLab