Hi Netra,
In ?idw (the same for ?krige) is explained that:

"Function idw performs just as krige without a model being passed, but
allows direct specification of the inverse distance weighting power. Don't
use with predictors in the formula."

I don't know exactly how many points are used as default but I think you
can use the same parameters such as "nmin", "nmax", "omax", "maxdist",
ecc.. to set some standards options.


------------------------------
>
> Message: 2
> Date: Sun, 27 Oct 2013 10:55:58 -0700 (PDT)
> From: netra <npt_eng@hotmail.com>
> To: r-sig-geo@r-project.org
> Subject: Re: [R-sig-Geo] Idw
> Message-ID: <1382896558365-7584977.post@n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Maurizio ,
>
>
>
>                 library(gstat)
>                 idw.out <- idw(z~1, elev, grd, idp = 2)
>
> this is my code snippet,  I have "elev" is  SpatialPointsDataFrame object
> and "grd" is SpatialPixels object.
>
> Netra
>

	[[alternative HTML version deleted]]

