Recursive Augmented Dickey-Fuller
Plotting a radf_distr object
autoplot.radf_distr autoplot(object, ...) Takes a radf_distr object and returns a ggplot2 object.
Arguments
| object | An object of class radf_distr. |
| ... | Further arguments passed to methods, used only in wb_distr facet options. |
Value
A ggplot2::ggplot()
Examples
These examples are copied from the package's own documentation and are run by R CMD check on every release.
The printed output (after #>) and the plots were produced by running them against the current package source.
# Monte Carlo distribution
mdist <- radf_mc_distr(n = 100, nrep = 1000)
autoplot(mdist) # Wild bootstrap distribution (one facet per series)
wdist <- radf_wb_distr(sim_data)
autoplot(wdist) # Panel sieve bootstrap distribution
sdist <- radf_sb_distr(sim_data, nboot = 500)
autoplot(sdist)
exuber