% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conformal.R
\name{plot.metahunt_conformal}
\alias{plot.metahunt_conformal}
\title{Plot a conformal prediction-interval object}
\usage{
\method{plot}{metahunt_conformal}(
  x,
  target_idx = 1L,
  x_axis = NULL,
  fill = grDevices::adjustcolor("steelblue", 0.2),
  line_col = "steelblue",
  ...
)
}
\arguments{
\item{x}{A \code{"metahunt_conformal"} object.}

\item{target_idx}{For pointwise objects, the integer index of the
target study to plot (default \code{1}). Ignored for scalar objects.}

\item{x_axis}{Optional numeric vector of length \code{G_grid} giving the
x-axis values for pointwise plotting. Defaults to \code{seq_len(G_grid)}.}

\item{fill}{Polygon fill colour for the band. Default semi-transparent
steel blue.}

\item{line_col}{Line colour for the predicted function (or points in
scalar mode). Default steel blue.}

\item{...}{Additional graphical parameters passed to the underlying
plotting calls.}
}
\value{
Invisibly returns \code{x}.
}
\description{
For pointwise objects (no \code{wrapper} was used), draws the predicted
function for one target study together with its pointwise band.
For scalar objects, draws point predictions with whisker error bars
over all targets.
}
