Usage Arguments Details Author(s)
1 | traceKrigeCV(.coordinates, .functions, .model, .F = NULL)
|
Coordinates |
- Coordinates of your functional data |
Functions |
- Functions stacked in columns |
Variogram |
Model - Class vgm, produced as a call to gstat::vgm |
.covType |
- Covariance type: "omni", "product", "sum". |
F |
- Universal kriging matrix. For ordinary kriging a vector of 1's.
For simple kriging |
This function performs k-fold cross validation for a given variogram model If F=NULL it assumes simple kriging in which case it must work with covariances. Covariances are produced from the variogram by substracting the variogram values from the fitted sill. Of course, this assumes second order stationarity! It's users responsibility to verify that this is truly appropriate!
In all other cases of universal kriging (OK as a special case), the code will work with variograms.
Note: This is an experimental function! Use at your own responsibility!
Ogy Grujic (ogyg@stanford.edu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.