plot_convergence: Plot Convergence of the algorithm

View source: R/utils.R

plot_convergenceR Documentation

Plot Convergence of the algorithm

Description

Plots the criterion value on each of the steps of the algorithm, both for optimizing weights and points, against the total step number.

Usage

plot_convergence(convergence)

Arguments

convergence

A dataframe with two columns:

  • criteria contains value of the criterion on each step.

  • step contains number of the step.

Value

A ggplot object with the criteria in the y axis and step in the x axis.


optedr documentation built on Nov. 18, 2022, 5:12 p.m.