[[.gmCgram: Subsetting of gmCgram variogram structures
Description
Extraction or combination of nested structures of a gmCgram object
Usage
# S3 method for gmCgram
[[(x, i, ...)
Value
a gmCgram variogram object with the desired structures only.
Arguments
x
gmCgram variogram object
i
indices of the structures that are desired to be kept (0=nugget) or removed (see details)
...
extra arguments for generic functionality
Details
This function can be used to: extract the nugget (i=0), extract some
structures (i=indices of the structures, possibly including 0 for the nugget),
or filter some structures out (i=negative indices of the structures to remove;
nugget will always removed in this case). If you want to extract "slots" or
"elements" of the variogram, use the $-notation. If you want to extract variables of the
variogram matrices, use the [-notation. The contrary operation (adding structures together)
is obtained by summing (+) two gmCgram objects.
See Also
Other gmCgram functions:
[.gmCgram(),
as.function.gmCgram(),
as.gmCgram.variogramModelList(),
length.gmCgram(),
ndirections(),
plot.gmCgram(),
variogramModelPlot()