
Plots an order statistic of the object value as a function of number of searches
Source:R/greedy_search.R
plot_obj_val_order_statistic.RdPlots an order statistic of the object value as a function of number of searches
Arguments
- obj
The greedy search object object whose search history is to be visualized
- order_stat
The order statistic that you wish to plot. The default is
1for the minimum.- skip_every
Plot every nth point. This makes the plot generate much more quickly. The default is
5.- type
The type parameter for plot.
- ...
Other arguments to be passed to the plot function.
Examples
if (FALSE) { # \dontrun{
set.seed(1)
X = matrix(rnorm(20), nrow = 10)
ged = initGreedyExperimentalDesignObject(
X,
max_designs = 5,
num_cores = 1,
objective = "abs_sum_diff",
start = TRUE,
wait = TRUE,
verbose = FALSE
)
plot_obj_val_order_statistic(ged, order_stat = 1, skip_every = 1)
} # }