Hi I found that variogram is a function in spatial library. I tried > ??variogram > library(spatial) > ?variogram
I used an example and I did not have any problem with it. > data(topo, package="MASS") > topo.kr <- surf.ls(2, topo) > variogram(topo.kr, 25) > I do not have gstat available but from documentation seems that there shall not be any problem and that there is even example how to use it. > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. Regards Petr r-help-boun...@r-project.org napsal dne 19.04.2009 17:44:39: > Dear all, excuse me for my simple questions: i had imported with read table a > database with x, y,value and i must do variogram with gstat. > can someone tell me how to do it? I read the help but I could not > to obtain variogram, > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.