Usage Arguments Details Author(s)
1 2 3 |
g |
- An |
model |
- Variogram model of class |
dir |
- Direction you wish to fit. Useful for fine tunning. |
correctDiagonal |
- Default = 1. Corrects the diagonal of the LMC sill matrix. |
fitSills |
- This is a convenience access parameter for fit.variogram |
fitRanges |
- This is a convenience access parameter for fit.variogram |
forceNugget |
- Whether to force the nugget to user specified value or to fit it (Boolean). |
posNugget |
- Whether to enforce the positivity of the nugget (Boolean). Not to be used with conventional cross variogram computation! |
It returns the fstat
structure with an addtional slot models
.
This function will cycle through all available directions and fit either a single-variate
variogram or an LMC structure (depending on the number of id's).
variable dir
is available for the purpose of fine tunning, i.e. different variogram for
a different direction.
In the backend, this code relies on the fit.variogram
routine from the gstat
package.
Ogy Grujic (ogyg@stanford.edu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.