[R-sig-Geo] help for saving kriging wieghts

Edzer Pebesma edzer.pebesma at uni-muenster.de
Fri Oct 28 18:00:17 CEST 2011


try:

library(gstat)
demo(weight)

It's incredibly inefficient, but does what you ask. Another approach 
would be to look at gstat::krige0, which does (global, point, universal) 
kriging in "pure" R, and might be easily modified to return weights.

Hth,

On 10/28/2011 01:13 PM, Sneep, Anne-Ruth wrote:
> Dear participants of the mailing list,
>
> Does someone know how to store the kriging weights used in the calculations made by the function krige() in Gstat in R.
> I only have found possibility to used debug.level 32 to get them printed, but I would like to store them in a variable, and use them further on in my program.
>
> Your help will be highly appreciated!
>
> Kind regards,
>
> Anne
>
> 	[[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
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list