% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ild_kfas_plot.R
\name{ild_plot_forecast}
\alias{ild_plot_forecast}
\title{Plot forecast or future simulation (stub when no horizon)}
\usage{
ild_plot_forecast(x, ...)
}
\arguments{
\item{x}{An object from [ild_kfas()].}

\item{...}{Passed to \code{\link[stats]{predict}} for the fitted \pkg{KFAS} model when forecasting is available.}
}
\value{
A \code{ggplot} object.
}
\description{
When \code{forecast_horizon > 0} was used in [ild_kfas()], attempts a short
ahead forecast via \pkg{KFAS}; otherwise returns an informative empty panel.
}
