Re: [R-sig-Geo] Cross-validation for kriging in R (package geoR): how to include the trend while reestimate is TRUE?

2017-05-01 Thread Patrick Schratz
Hi Vera, I started debugging a bit and the error is in line 192 of the `xvalid()` function which uses a subfunction `cv.f`     res <- as.data.frame(t(apply(matrix(locations.xvalid),       1, cv.f))) which then does the call to `vario()` in lines 125-141. Here, the error appears because coords

[R-sig-Geo] Cross-validation for kriging in R (package geoR): how to include the trend while reestimate is TRUE?

2017-05-01 Thread v.m.vanzoest
Dear all, I have a question related to the function xvalid (package geoR), which I asked on StackOverflow before but unfortunately did not get answered, probably because it is too specifically related to spatial statistics and this specific function