uc.check {RGeostats}R Documentation

Check the validity of the Drift information

Description

Check the validity of the Drift information

Usage

uc.check(uc = c("1"), ndim = 2)

Arguments

uc

This argument contains the Drift information. It can be:

  • A list of valid drift basic terms

  • The degree of the Random Function

ndim

The space dimension. This is only needed when argument 'uc' is provided as the order of the Random Function.

Details

Note the following pitfall:

Value

The function returns a list of drift basic terms. When the argument 'uc' is provided as the degree of the Random Function (and given the space dimension), the corresponding set of basic drift terms is returned.

If the argument 'uc' contains an invalid drift basic term, the list of all possible keywords is printed.

Examples

uc.check(c("1","x","y"))  # returns "1" "x" "y"
uc.check(2,ndim=1)        # returns "1" "x" "x2"
## Not run: 
uc.check("drift")         # returns an error and prints the list

## End(Not run)

[Package RGeostats version 14.0.10 Index]