Skip to content
Prev 19343 / 29559 Next

Note on variogram fitting with polynomial degree

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

degree is not listed as a parameter in ?variogram, and is ignored,
regrettably silently, but this is how R often works when there's a ...
in the argument list.

The function that accepts degree is ?gstat, and I tried:

variogram(gstat(NULL, "lzinc", log(zinc)~1, meuse, degree=2))

and that gives a nice error message that degree is not supported by
variogram().

I understand this is somewhat confusing. Do you think we should modify
the book or the documentation of some function?
On 09/17/2013 11:36 AM, Caspar Hallmann wrote:
- -- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of M?nster
Heisenbergstra?e 2, 48149 M?nster, Germany. Phone: +49 251
83 33081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSOC6KAAoJEM1OCHCtOnfx6dkH/iIluvBI83ghDMoNIb+/rTDz
LOtVwu8oZp90vGIAVltBbqPVIu4SZH4jj6jif0HrEJU3wshE4k51EkGwq77jvP13
+pnCrwApeBHpJ2iUgYgqYCJAkwj+F25HxX1IxjcmQVIe8LC6O3fl/Rr8WAdnqbAL
M3J8nzEf23yWba683BCBxQwDBHbaTSHYlrKjAbEyQWsnVY40lBV0Vl7SdooseyWK
jPdEFPhp3kQIpPKhbmoAo9PwocwfUympZZ0KbM3xosZrI2cfI1dXXzrOwJtsCBrW
7/pK9fOxDYfGZICEnSr3xkf3FQCaoFQZY5uVEIrOo67/GkNxt5ewBkIdsQCi+vc=
=m5bR
-----END PGP SIGNATURE-----