% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rga.R
\name{plot.rga_predict}
\alias{plot.rga_predict}
\title{Plot Method for rga_predict Objects}
\usage{
\method{plot}{rga_predict}(x, conf_bounds = TRUE, legend = TRUE, legend_pos = "bottomright", ...)
}
\arguments{
\item{x}{An object of class \code{rga_predict}.}

\item{conf_bounds}{Logical; include confidence bounds (default: \code{TRUE}).}

\item{legend}{Logical; show the legend (default: \code{TRUE}).}

\item{legend_pos}{Position of the legend (default: \code{"bottomright"}).}

\item{...}{Additional arguments passed to \code{plot()}.}
}
\value{
Invisibly returns \code{NULL}.
}
\description{
Plots observed data, the fitted reliability growth curve, and the forecast
with optional confidence bounds for an \code{rga_predict} object.
}
\examples{
times <- c(100, 200, 300, 400, 500)
failures <- c(1, 2, 1, 3, 2)
fit <- rga(times, failures)
fc <- predict_rga(fit, times = c(1500, 2000))
plot(fc, main = "RGA Forecast", xlab = "Cumulative Time", ylab = "Cumulative Failures")
}
\seealso{
Other Reliability Growth Analysis: 
\code{\link{overlay_rga}()},
\code{\link{plot.rga}()},
\code{\link{predict_rga}()},
\code{\link{print.rga}()},
\code{\link{print.rga_predict}()},
\code{\link{rga}()}
}
\concept{Reliability Growth Analysis}
