Skip to content
exuber

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)
Plot from the autoplot.radf_distr example
# Wild bootstrap distribution (one facet per series)
wdist <- radf_wb_distr(sim_data)
autoplot(wdist)
Plot from the autoplot.radf_distr example
# Panel sieve bootstrap distribution
sdist <- radf_sb_distr(sim_data, nboot = 500)
autoplot(sdist)
Plot from the autoplot.radf_distr example