gstat-info  

Re: maxdist

Ashton Shortridge
Thu, 14 Aug 2003 12:11:02 -0700

Hi Miha (and list)

I replicate this error running the R library version of gstat I downloaded in 
late March. Using the nmax argument to set the number of observations used 
for kriging worked (and works) fine for me. maxdist is not supported, 
however, although it does show up in the function source itself for both 
krige() and gstat(). I'd guess it's not being translated properly to the 
'radius' parameter in the gstat 'data' function via whatever magic connects 
the R functions to the underlying (c?) code. 

Ashton

-- 
Ashton Shortridge
Assistant Professor                     [EMAIL PROTECTED]
Dept of Geography                       http://www.msu.edu/~ashton
Michigan State University               (517) 432-3561


On Monday 11 August 2003 07:35, Miha STAUT wrote:
> Hi,
>
> As far as I understood maxdist is intended for local kriging. This means
> that only points inside the specified distance are used to interpoate a
> location (is that true?).
>
> What have I done wrong in the following statement (gstat/R version 0.9-7).
>
> krige(..., maxdist=800, ...)
> #if I remember write the error was:
> can not find the object maxdist
> #or something similar
>
> Sorry for a vague mail
>
> Miha Staut
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963