Learn R Programming

SAVE (version 1.0)

SAVE.controls: Control parameters for kriging process.

Description

Returns a list suitable as the kriging.controls argument of the SAVE function.

Usage

SAVE.controls(lower = NULL, upper = NULL, optim.method = "BFGS", parinit = NULL,...)

Arguments

lower
(see below)
upper
optional vector containing the bounds of the correlation parameters for optimization in function km in package DiceKriging. The default values are given by covParametersBounds.
optim.method
an optional character string indicating which optimization method is chosen for the likelihood maximization. "BFGS" is the optim quasi-Newton procedure of package stats, with the method "L-BFGS-B". "gen" is the genoud genetic algorithm (using derivatives) from package rgenoud (>= 5.3.3).
parinit
an optional vector containing the initial values for the variables to be optimized over. If no vector is given, an initial point is generated as follows. For method "gen", the initial point is generated uniformly inside the hyper-rectangle domain defined by lower and upper. For method "BFGS", some points (see control below) are generated uniformly in the domain. Then the best point with respect to the likelihood (or penalized likelihood, see penalty) criterion is chosen.
...
arguments for SAVE.controls if they are not given explicitly. Current version deprecates any other argument different than those listed above.

Value

km function in package DiceKriging.

See Also

See Also DiceKriging for more details on the parametes.

Examples

Run this code
## Not run: 
# 	library(SAVE)
# 	sc  <- SAVE.controls(lower = 0.2, upper = 0.7, optim.method = "BFGS")
# 	sc1 <- SAVE.controls(lower = 0.2, upper = 0.7, optim.method = "BFGS",
# 				coef.var=1, coef.trend=0)
# 	### In this case, the parameters \code{coef.var} and \code{coef.trend} 
# 	### will be deprecated since \code{\link{SAVE}} does not allow to fix 
# 	### any parameter different than: \code{lower}, \code{upper}, 
# 	### \code{optim.method} and \code{parinit}.
#  ## End(Not run)

Run the code above in your browser using DataLab