| varmodel | R Documentation |
Function fits (manually) a theoretical semi-variogram. For now, model types available are spherical ('sph') and exponential ('exp'). Users should provide the experimental semi-variogram, fit a model type and set the semi-variogram parameters (nugget, range and sill). With base function plot(), results can be visualized.
varmodel(varexp, mod = c("exp", "sph"), nug, ran, sill)
varexp, |
string, name of object, output of function 'varexp()' |
mod, |
character, the semi-variogram model type ('sph' or 'exp') |
nug, |
numeric, nugget-effect value of the semi-variogram |
ran, |
numeric, range value of the semi-variogram |
sill, |
numeric, sill (or partial sill) value of the semi-variogram |
Function returns the following list of objects:
structures |
the number of spatial strutures (excluding nugget-effect) |
parameters |
a dataframe with model information to be passed to ssdpars() |
fittedval |
a numeric vector of fitted values as set by the semi-variogram model |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.