View source: R/s3_methods.R View source: R/autoplot-es_result.R
| autoplot.es_result | R Documentation |
S3 method that plots an es_result (from run_es()).
It forwards arguments to plot_es.
## S3 method for class 'es_result'
autoplot(object, ci_level = 0.95, type = "ribbon", ...)
object |
An |
ci_level |
Confidence level (numeric, e.g., 0.95). Passed to |
type |
Plot type: |
... |
Additional arguments forwarded to |
A ggplot2 ggplot object.
# res <- run_es(...)
# ggplot2::autoplot(res, ci_level = 0.95, type = "ribbon")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.