## Not run:
# library(rgdal)
# rpath = system.file("extdata",package="rtop")
# observations = readOGR(rpath,"observations")
# # Create a column with the specific runoff:
# observations$obs = observations$QSUMMER_OB/observations$AREASQKM
# predictionLocations = readOGR(rpath,"predictionLocations")
# rtopObj = createRtopObject(observations,predictionLocations)
# # Fit a variogram (function also creates it)
# rtopObj = rtopFitVariogram(rtopObj)
# rtopObj = updateRtopVariogram(rtopObj, exp = 1.5, action = "mult",
# checkVario = TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab