% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.dm_growth_evaluation.R
\name{plot.dm_growth_evaluation}
\alias{plot.dm_growth_evaluation}
\title{Plot growth-fitting evaluation statistics}
\usage{
\method{plot}{dm_growth_evaluation}(
  x,
  metric = c("rmse", "mae", "bias", "abs_bias", "r2", "correlation", "nrmse", "rss",
    "aic_approx", "bic_approx"),
  type = c("boxplot", "mean", "heatmap"),
  order_methods = TRUE,
  decreasing = NULL,
  show_points = TRUE,
  show_errorbar = TRUE,
  heatmap_label = c("series_fit", "series", "fit_id"),
  na.rm = TRUE,
  ...
)
}
\arguments{
\item{x}{An object of class \code{"dm_growth_evaluation"}.}

\item{metric}{Evaluation metric to plot. One of \code{"rmse"},
\code{"mae"}, \code{"bias"}, \code{"abs_bias"}, \code{"r2"},
\code{"correlation"}, \code{"nrmse"}, \code{"rss"},
\code{"aic_approx"}, or \code{"bic_approx"}.}

\item{type}{Plot type. One of \code{"boxplot"}, \code{"mean"}, or
\code{"heatmap"}.}

\item{order_methods}{Logical. If \code{TRUE}, methods are ordered by their
average value for the chosen metric.}

\item{decreasing}{Logical or \code{NULL}. Controls method ordering. If
\code{NULL}, metrics where smaller values are better are ordered ascending,
and metrics where larger values are better are ordered descending.}

\item{show_points}{Logical. If \code{TRUE}, add individual fit points to
\code{"boxplot"} and \code{"mean"} displays.}

\item{show_errorbar}{Logical. If \code{TRUE}, show standard-error bars when
\code{type = "mean"}.}

\item{heatmap_label}{Character string used to label rows in the heatmap. One
of \code{"series_fit"}, \code{"series"}, or \code{"fit_id"}.}

\item{na.rm}{Logical. If \code{TRUE}, remove missing metric values before
plotting.}

\item{...}{Further arguments passed to plotting methods.}
}
\value{
A \code{ggplot} object.
}
\description{
Creates ggplot2-based comparison plots for objects returned by
[dm.growth.evaluate()].
}
\seealso{
[dm.growth.evaluate()]
}
