vgmSCV | R Documentation |
Compute the proportion of the variance that is spatially correlated.
vgmSCV(obj, digits = 4) ## S3 method for class 'variomodel' vgmSCV(obj, digits = 4) ## S3 method for class 'variogramModel' vgmSCV(obj, digits = 4) ## S3 method for class 'georob' vgmSCV(obj, digits = 4)
obj |
Variogram model fitted with available function in geostatistical packages such as gstat, geoR, and georob. |
digits |
Integer indicating the number of decimal places to be used. |
Numeric value indicating the proportion of the variance that is spatially correlated.
Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com
variogramBins()
if (all(c(require(gstat), require(sp)))) { library(gstat) library(sp) data(meuse) sp::coordinates(meuse) <- ~ x + y vgm1 <- gstat::variogram(log(zinc) ~ 1, meuse) fit <- gstat::fit.variogram(vgm1, gstat::vgm(1, "Sph", 300, 1)) res <- vgmSCV(fit) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.