plot_error_curve: Plot error curves

Description Usage Arguments Value Note

View source: R/plot_error_curve.R

Description

Plots the estimated and true error curves for iterates of an optimization algorithm using ggplot2.

Usage

1
2
plot_error_curve(est, tru, up = 1, low = -5, left = 0, right = 100,
  auto = T)

Arguments

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)

Value

A ggplot object.

Note

See also tsmvr_solve and error_curve.


spcorum/tsmvrdata documentation built on May 6, 2019, 11:17 a.m.