This method is used to define the various parts of the LatticeKrig model by including specific components in the LKinfo object. The specific instance of the function that is used depends on the geometry that has been specified. Typically one would would not need to use this method for a new geometry.
setDefaultsLKinfo(object, ...)
# S3 method for default
setDefaultsLKinfo(object, ...)
# S3 method for LKRectangle
setDefaultsLKinfo(object, ...)
# S3 method for LKBox
setDefaultsLKinfo(object, ...)
# S3 method for LKRing
setDefaultsLKinfo(object, ...)
# S3 method for LKCylinder
setDefaultsLKinfo(object, ...)
# S3 method for LKInterval
setDefaultsLKinfo(object, ...)
# S3 method for LKSphere
setDefaultsLKinfo(object,...)
An object of class LKinfo.
Additional arguments to a specific method.
Doug Nychka
This method is used to include some default settings or components in the
LKinfo
object and is called from LKrigSetup
with the initial (or partial) LKinfo list
that is formed from the
information passed by the user to LKrigSetup.
In creating a new geometry this method is not required but can be used to include convenient default values and also some checks on the arguments passed to LKrigSetup. Often there are several arguments for a geometry that make sense to set to simplify the use or to avoid bad things ....
For the LKRing geometry the defaults values follow the logic:
alpha set to 1.0 if not specified and nlevel is 1
a.wght set to 4.01 if not specified.
the fixed part of the model (fixedFunction) uses the function LKrigPeriodicFixedFunction which insures the first component is periodic.
the transformation matrix, V has the default diag( c(1,1)). Also in this function if V[1,1] is not 1 then an error is given.
For the LKSphere geometry the defaults values follow the logic:
alpha set to 1.0 if not specified and nlevel is 1
a.wght set to 6.01 if not specified.
the fixed part of the model (fixedFunction) just includes a constant ( m=1)
Default distance function is great circle distance, with sphere radius of 1.0.
LKrigSetup