On 05/15/2014 10:58 AM, Roelof Coster wrote:
> Hi,
> 
> The krigeST function has a 'nmax' parameter that sets the maximum number of
> neighbouring observations to be used in the prediction. However, the help
> for this function states that it does not support kriging in a local
> neighbourhood. So, is this just a mistake in the help?

mistake, thanks.

> 
> Also, in case kriging in a neighbourhood is possible, how does the function
> determine this neighbourhood? How is distance in space compared to distance
> in time?

It uses http://cran.r-project.org/web/packages/FNN/index.html
to get nearest neighbours, and, unless parameter stAnis is specified,
tries to figure out a sensible space/time anisotropy from the variogram
model. The source is found
https://r-forge.r-project.org/scm/viewvc.php/pkg/R/krige0.R?view=markup&root=gstat
and look for function krigeST.local

The curent version on CRAN does not pass through parameters
checkNeighbourhood and bufferNmax, just corrected this on r-forge.

Wbr,

> 
> Thanks! Roelof Coster
> 
>       [[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251
83 33081 http://ifgi.uni-muenster.de GPG key ID 0xAC227795

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to