### Chart detailing the years 2024, 2025 and 2026 by month
plot(dat_pred$mes[dat_pred$ano == 2024], dat_pred$quantidade[dat_pred$ano == 2024],
ylab = "Cases of tuberculosis",
ylim = c(min(dat_pred$quantidade), max(dat_pred$quantidade)),
main = "Tuberculosis Cases by Month (2024-2026)",
axis(1, at = 1:12, labels = c("Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"))
pch_values = c(16, 17, 18)
col_values = c("black", "red", "blue")
lines(dat_pred$mes[dat_pred$ano == 2024], dat_pred$quantidade[dat_pred$ano == 2024],
type = 'o', col = "black", pch = 16, lty = 1)
lines(dat_pred$mes[dat_pred$ano == 2025], dat_pred$quantidade[dat_pred$ano == 2025],
type = 'o', col = "red", pch = 17, lty = 1)
lines(dat_pred$mes[dat_pred$ano == 2026], dat_pred$quantidade[dat_pred$ano == 2026],
type = 'o', col = "blue", pch = 18, lty = 1)
legend = as.character(2024:2026),