Nothing
#' @title plot_error
#'
#' @description Plot the absolute error
#'
#' @param x Results object from run_optimization_min_conf
#'
#' @details
#' Plot error over time
#'
#' @return ggplot
#' @references xxx
#' @export
plot_error <- function(x) {
plot <- ggplot2::ggplot(data = x$error) +
ggplot2::geom_line(ggplot2::aes(x = i, y = error)) +
ggplot2::labs(x = "Iterations", y = "Error") +
ggplot2::theme_classic()
return(plot)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.