plot_obj_val_by_iter: Plots the objective value by iteration

View source: R/greedy_search.R

plot_obj_val_by_iterR Documentation

Plots the objective value by iteration

Description

Plots the objective value by iteration

Usage

plot_obj_val_by_iter(res, runs = NULL)

Arguments

res

Results from a greedy search object

runs

A vector of run indices you would like to see plotted (default is to plot the first up to 9)

Author(s)

Adam Kapelner

Examples

## Not run: 
set.seed(1)
X = matrix(rnorm(20), nrow = 10)
ged = initGreedyExperimentalDesignObject(
  X,
  max_designs = 5,
  num_cores = 1,
  diagnostics = TRUE,
  objective = "abs_sum_diff",
  start = TRUE,
  wait = TRUE,
  verbose = FALSE
)
res = resultsGreedySearch(ged, max_vectors = 2)
plot_obj_val_by_iter(res)

## End(Not run)

GreedyExperimentalDesign documentation built on Jan. 9, 2026, 5:07 p.m.