Hi All, I am trying to fit variogram on the elevation data used in geoR package and running the same commands given in the book "Model Based Geostatistics" by Diggle & Ribeiro. The commnd is:
> plot(variog(elevation, uvec = seq(0, 5, by = 0.5)),type = "b") but the output message is Error in plot.variogram(variog(elevation, uvec = seq(0, 5, by = 0.5)), : type must be "c", "r", or "m". Then I am using type="c" option but the message is: variog: computing omnidirectional variogram Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ I am having the same problem when doing on my own data set. Can anyone suggest me what I am doing wrong with this. Thanks, Adeela [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo