% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_dpq.R
\name{plot_dpq}
\alias{plot_dpq}
\title{Plot DP-Quantile Bootstrap Result}
\usage{
plot_dpq(object, dates = NULL, interval = "50")
}
\arguments{
\item{object}{Object returned by dpq_bootstrap().}

\item{dates}{Optional vector of dates.}

\item{interval}{Character. Either '50' or '95'.}
}
\value{
A ggplot object.
}
\description{
Plot DP-Quantile Bootstrap Result
}
\examples{
x <- c(120, 125, 118, 130, 128, 135, 140, 138, 145, 150)
res <- dpq_bootstrap(x, R = 20, alpha = 1, seed = 123)
if (requireNamespace('ggplot2', quietly = TRUE)) {
  plot_dpq(res, interval = '50')
}

}
