Skip to content

ordinary kriging and elevation with GSTAT

2 messages · Tobin Cara, Paul Hiemstra

1 day later
#
Tobin Cara wrote:
Hi,

I would say there is no reason why not. But what do you mean by 
variogram, I think the variogram model. To use the model in R you only 
need to put it into the correct format.

library(automap)
data(meuse)
coordinates(meuse) = ~x+y
kr = autoKrige(meuse)
class(kr$var_model)
kr$var_model
str(kr$var_model)

cheers,
Paul