This version of outer
evaluates FUN
only on that part of the grid cx x cy that is enclosed within
the convex hull of the points (px
,py
).
This can be useful for spatial estimation if no extrapolation is wanted.
1  outer.convhull(cx,cy,px,py,FUN,duplicate="remove",...)

cx 
x cordinates of grid 
cy 
y cordinates of grid 
px 
vector of x coordinates of points 
py 
vector of y coordinates of points 
FUN 
function to be evaluated over the grid 
duplicate 
indicates what to do with duplicate
(px_i,py_i) points, default 
... 
additional arguments for 
Matrix with values of FUN
(NA
s if outside the
convex hull).
A. Gebhardt
in.convex.hull
1 2 3 4 5 6 7 8 9 10 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.