Learn R Programming

sbpiper (version 1.9.0)

plot_objval_vs_iters: Plot the Objective values vs Iterations

Description

Plot the Objective values vs Iterations

Usage

plot_objval_vs_iters(objval.vec, model, plots_dir)

Arguments

objval.vec

the vector containing the objective values

model

the model name

plots_dir

the directory to save the generated plots

Examples

Run this code
# NOT RUN {
dir.create(file.path("pe_plots"))
v <- 10*(rnorm(10000))^4 + 10
plot_objval_vs_iters(objval.vec=v, model="model", plots_dir="pe_plots")
# }

Run the code above in your browser using DataLab