if (FALSE) {
# Example usage with conditional forecast data
plot_result <- plot_cond_forc(varbl2plot = "GDP",
y_h_cond = forecast_data,
T.start = as.Date("2023-01-01"),
T.end = as.Date("2024-01-01"),
y_data = historical_data)
}
Run the code above in your browser using DataLab