Description Usage Arguments Value Note
View source: R/plot_error_curve.R
Plots the estimated and true error curves for iterates of an optimization algorithm using ggplot2.
1 2 | plot_error_curve(est, tru, up = 1, low = -5, left = 0, right = 100,
auto = T)
|
est |
numeric vector representing the errors between iterates and the final iterate |
tru |
numeric vector representing the errors between iterates and the ground truth |
up |
upper limit of vertical axis |
low |
lower limit of vertical axis |
left |
left limit of horizontal axis |
right |
right limit of horizontal axis |
auto |
calculate limit automatically (default FALSE; if TRUE axes limits are ignored) |
A ggplot object.
See also tsmvr_solve
and
error_curve
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.