estbounds.check | R Documentation |
estbounds
This function checks and updates the input from the user in the
estbounds
function. If there is any invalid input,
the function will be terminated and error messages will be printed.
estbounds.check(data, lpmodel, kappa, norm, solver, estimate)
data |
An |
lpmodel |
The |
kappa |
The tuning parameter used in the second step of the two-step procedure for obtaining the bounds subject to the shape constraints. It can be any nonnegative number. |
norm |
The norm used in the optimization problem. It can be either a
1-norm or a 2-norm. See the details section of
|
solver |
The name of the linear and quadratic programming solver that
is used to obtain the solution to linear and quadratic programs.
The solvers supported by this package are |
estimate |
A boolean variable to indicate whether the bounds should be estimated or not. |
Returns the updated parameters and objects back to the function
estbounds
. The following information are updated:
data
lpmodel
solver
solver.name
norm
kappa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.