Skip to content
Prev 19836 / 29559 Next

back with cutoff/variogram question

Erin, it is in

https://r-forge.r-project.org/scm/viewvc.php/pkg/src/sem.c?view=markup&root=gstat

file sem.c, line 692

defaults.h defines:

#define DEF_fraction    0.33333 /* fraction of max_dist for def. cutoff */

which is the default value for gl_fraction.

The default number of lag classes is 15 (gl_n_intervals). You can change
these defaults to e.g. 0.5 and 25 by:

variogram(gstat(NULL, "zinc", zinc~1, meuse,
    set=list(fraction=.5,intervals=25)))
On 11/24/2013 04:53 PM, Hodgess, Erin wrote: