It would be easier for us to help you if the example is reproducible. ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance Kliniekstraat 25 1070 Anderlecht Belgium
To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher The plural of anecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey Op 4 jul. 2015 04:58 schreef "adeela uaf" <adeela....@gmail.com>: > 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 > [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo