[R-sig-Geo] Problem in geoR

adeela uaf adeela.uaf at gmail.com
Sat Jul 4 04:57:34 CEST 2015

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.

	[[alternative HTML version deleted]]

More information about the R-sig-Geo mailing list