[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-geo
Subject:    Re: [R-sig-Geo] help for saving kriging wieghts
From:       Edzer Pebesma <edzer.pebesma () uni-muenster ! de>
Date:       2011-10-28 16:00:17
Message-ID: 4EAAD191.9050507 () uni-muenster ! de
[Download RAW message or body]

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 calculatio=
ns 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 m=
y program.
>
> Your help will be highly appreciated!
>
> Kind regards,
>
> Anne
>
> 	[[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=FCnster
Weseler Stra=DFe 253, 48151 M=FCnster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma@wwu.de

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic