Method for including default information in the LKinfo object.

Description

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.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
setDefaultsLKinfo(object, ...)
## Default S3 method:
setDefaultsLKinfo(object, ...)
## S3 method for class 'LKRectangle'
setDefaultsLKinfo(object, ...)
## S3 method for class 'LKBox'
setDefaultsLKinfo(object, ...)
## S3 method for class 'LKRing'
setDefaultsLKinfo(object, ...)
## S3 method for class 'LKCylinder'
setDefaultsLKinfo(object, ...)
## S3 method for class 'LKInterval'
setDefaultsLKinfo(object, ...)

Arguments

object

An object of class LKinfo.

...

Additional arguments to a specific method.

Details

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 example with 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.

Author(s)

Doug Nychka

See Also

LKrigSetup

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.