# NOT RUN {
#### load data of feedback and change-in-feedback indices in 88 sites across Australia
data(rain.feedback.stats)
#### spatial coordinates of the 88 sites
coord=rain.feedback.stats[,3:4]
#### feedback index
stat1=rain.feedback.stats[["Feedback.whole.period"]]
#### variogram analysis and kriging of feedback index
## computer intensive stage
# }
# NOT RUN {
par(mfrow=c(2,2), mar=c(5.1,4.1,4.1,4.1))
kr1=krige(coordinates=coord, statistic=stat1,
grid=list(x=seq(110,155,0.25),y=seq(-45,-11,0.25),border="Australia",
proj="+proj=lcc +lat_1=-18 +lat_2=-36 +lat0=-25 +lon_0=140",degrees=TRUE),
plots=TRUE)
## the plot style from the \code{automap} package can be obtained as follows:
plot(kr1$krige)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab