View source: R/plot.dm_growth_evaluation.R
| plot.dm_growth_evaluation | R Documentation |
Creates ggplot2-based comparison plots for objects returned by [dm.growth.evaluate()].
## S3 method for class 'dm_growth_evaluation'
plot(
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,
...
)
x |
An object of class |
metric |
Evaluation metric to plot. One of |
type |
Plot type. One of |
order_methods |
Logical. If |
decreasing |
Logical or |
show_points |
Logical. If |
show_errorbar |
Logical. If |
heatmap_label |
Character string used to label rows in the heatmap. One
of |
na.rm |
Logical. If |
... |
Further arguments passed to plotting methods. |
A ggplot object.
[dm.growth.evaluate()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.