stepchk | R Documentation |
Parameter values are check for a proposed stepsize to ensure that they remain within limits. If not, the stepsize is adjusted to keep within the limits.
stepchk(oldstep, cvec, deltac, limwrd, ind, climit = 50 * c(-rep(1, ncvec),
rep(1, ncvec)), active = 1:ncvec, dbgwrd)
oldstep |
A positive or zero step size for a line search |
cvec |
A numeric or matrix parameter vector. |
deltac |
A vector defining a research direction of the same length as |
limwrd |
A logical vector of length 2 indicating whether a lower and/or upper boundary is rached by a step. |
ind |
An integer that is normally 0 but is 1 if an upper boundary has been reached twice. |
climit |
A two-column matrix with first dimension that of |
active |
A logical vector with length that of |
dbgwrd |
An integer controlling the amount of information to display for each step. |
A nonnegative step size for a linear search.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.