@Thierry- I am writing my own semivariogram code since I could not find a pre-made function that did what I need it do. The code in the function correctly works but I not sure how to get the function itself to work. In other words if I fill in the commands (hope,id,sctime,scResid) by hand then everything is ok -- but I dont want to do that.
Plus this will help be better understand how to program functions in R. -- View this message in context: http://r.789695.n4.nabble.com/Pesky-homemade-function-code-tp2541597p2541696.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.