View source: R/stVariogramModels.R
extractPar | R Documentation |
All spatio-temporal variogram models have a different set of parameters. These functions extract the parameters and their names from the spatio-temporal variogram model. Note, this function is as well used to pass the parameters to the optim function. The arguments lower and upper passed to optim should follow the same structure.
extractPar(model)
extractParNames(model)
model |
a spatio-temporal variogram model from |
A named numeric vector of parameters or a vector of characters holding the parameters' names.
Benedikt Graeler
fit.StVariogram
and vgmST
sumMetricModel <- vgmST("sumMetric",
space=vgm(30, "Sph", 200, 6),
time =vgm(30, "Sph", 15, 7),
joint=vgm(60, "Exp", 84, 22),
stAni=100)
extractPar(sumMetricModel)
extractParNames(sumMetricModel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.