View source: R/order_of_integration.R
plot_order_integration | R Documentation |
Plots a vector with orders of integration of time series.
plot_order_integration(orders, show_names = TRUE, show_legend = TRUE,
names_size = NULL, legend_size = NULL, cols = NULL)
orders |
A |
show_names |
Show the time series' names on the plot ( |
show_legend |
Logical indicator whether a legend should be displayed. Default is |
names_size |
Size of the time series' names if |
legend_size |
Size of the text in the legend if |
cols |
Vector with colours for displaying the orders of integration. At least as many colours as orders of integration need to be supplied. Default supplies 4 colours for displaying up to |
This function requires the package ggplot2
to be installed. If the package is not found, plotting is aborted.
A ggplot2
object containing the plot of the orders of integration.
Smeekes, S. and Wilms, I. (2023). bootUR: An R Package for Bootstrap Unit Root Tests. Journal of Statistical Software, 106(12), 1-39.
order_integration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.