stepit | R Documentation |
Using cubic interpolation, a new step size is computed for minimizing a function value.
stepit(linemat, ips, dblwrd, MAXSTEP)
linemat |
A 3 by 5 matrix containing step sizes, function values and slopes at multiple values. |
ips |
If 1, previous slope was positive. |
dblwrd |
Vector of length 2: dblwrd[1] TRUE means step halved dblwrd[2] TRUE means step doubled. |
MAXSTEP |
maximum allowed size of a step. |
A positive step size.
Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.