Re: [R-sig-Geo] How to locate local minima points on a Krige-fitted surface?

2010-06-12 Thread v v
Hi, Paul, Thank you for the reply. I have attempted to write some code to test out what you've suggested but ran into some errors. library(fields) k <- Krig(ozone$x, ozone$y, theta=20) # define objective function kfunc <- function(para,k) { xcoord=para[1] ycoord=para[2] minimum

[R-sig-Geo] How to locate local minima points on a Krige-fitted surface?

2010-06-10 Thread v v
Hi, I am using the 'fields' package to conduct Kriging interpolation on my dataset. I have managed to generate the 3-dimensional surface plot of the Krige-fitted surface. There are several local minima points on the surface. My main interest is to pinpoint the exact x-y coordinates of the low