r-spatial / gstat

Spatial and spatio-temporal geostatistical modelling, prediction and simulation
http://r-spatial.github.io/gstat/
GNU General Public License v2.0
195 stars 49 forks source link

Getting linear model coefficient estimates from kriging estimation #94

Closed osmarudea closed 2 years ago

osmarudea commented 2 years ago

When estimating a universal kriging model with the krige() function, model predictions are returned, but it seems there is no way to extract the GLS model coefficients. Is there a workaround to get the linear model coefficient estimates?

edzer commented 2 years ago

It's a trick, but: demo(blue)