Description Usage Arguments Examples
View source: R/optim_helper_functions.R
Plot the path to convergence of an optimization algorithm (such as optim_DFP_APA).
1 2 3 4 5 6 7 | plotConvergence(
optimOutput,
variable = NULL,
digits = 5,
labels = T,
flip_axes = F
)
|
optimOutput |
The result of running an optimization algorithm with keepValues=TRUE |
variable |
Default is NULL, will print convergence plot for all variables, otherwise an integer vector (such as c(1,3)) indicating which variables to print convergence plot for. |
digits |
Default is 5. Number of digits to print on convergence plot. |
labels |
If TRUE, print function values as labels on the plot. |
flip_axes |
If TRUE, will plot the convergence horizontally rather than vertically. |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.