[R-sig-Geo] Local spacetime kriging
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Thu May 15 15:47:18 CEST 2014
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20140515/819aafdf/attachment.bin>
More information about the R-sig-Geo
mailing list