length.gmCgram | R Documentation |
Provide number of structures, and nr of variables of an LMC of class gmCgram
## S3 method for class 'gmCgram'
length(x)
x |
gmCgram object |
length
returns the number of structures (nugget not counted), while
ncol
and nrow
return these values for the nugget (assuming that they will
be also valid for the sill).
Other gmCgram functions:
[.gmCgram()
,
[[.gmCgram()
,
as.function.gmCgram()
,
as.gmCgram.variogramModelList()
,
ndirections()
,
plot.gmCgram()
,
variogramModelPlot()
utils::data("variogramModels")
v1 = setCgram(type=vg.Gau, sill=diag(3)+0.5, anisRanges = 2*diag(c(3,0.5)))
v2 = setCgram(type=vg.Exp, sill=0.3*diag(3), anisRanges = 0.5*diag(2))
vm = v1+v2
length(vm)
ncol(vm)
nrow(vm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.