LKinfoCheck: Check the LKinfo object

Description Usage Arguments Value Author(s) See Also

View source: R/LKinfoCheck.R

Description

This method performs some simple checks on the LKinfo object before it is returned by LKrigSetup. One benefit is that it checks for the essential components in each of the parts of the LKinfo object. Currently there is only a default method supplied.

Here is an example of how the checks work

1
2
3
4
5
6
	LKinfo<- LKrigSetup( cbind(c(0,1)), LKGeometry="LKInterval",
    a.wght=5, nlevel=2, nu=1.5, NC=4)
    LKinfo$alpha
# corrupt it  
    LKinfo$alpha <- list( 1,.5,.25)
try( LKinfoCheck( LKinfo) )

Usage

1
2
3
LKinfoCheck(object, ...)
## Default S3 method:
LKinfoCheck(object, ...)

Arguments

object

An LKinfo object to be checked.

...

Additional arguments to method.

Value

There is no returned value. The benefit is the side effect of an error message and a "stop if the are problems in the LKinfo object.

Author(s)

Doug Nychka

See Also

LKrigSetup



LatticeKrig documentation built on May 19, 2017, 11:36 a.m.
Search within the LatticeKrig package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.