Description Usage Arguments Value
View source: R/svr-functions.R
Perform a grid search to find the value at which argument
FUN
is equal to argument target
.
1 2 | gridSearch(FUN, init = 0, target, increment = 2, tol = 0.0025,
tol.same = 1e-06, left = FALSE, iter.max = 25, ...)
|
FUN |
Scalar function of scalar argument. |
init |
Scalar, initial solution. |
target |
Scalar, target p-value. |
increment |
Scalar, determines the first increment of the grid, and is refined over the iterations of the grid search. |
tol |
Scalar, tolerance for determining when |
tol.same |
Scalar, tolerance for determining when solution can
no longer be improved. Set to |
left |
Boolean, set to |
iter.max |
Integer, maximum number of iterations to perform. |
Scalar, the value of the argument at which FUN
is
equal to target
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.