79343472

Date: 2025-01-09 17:11:56
Score: 0.5
Natty:
Report link

Changing auto.text = FALSE does work, but it does make your plot title bold, with no obvious way to unbold. A bit frustrating since I have to make these plots for multiple communities and keep them consistent, but I guess I'll be using auto.text = FALSE for all the communities to make all the titles bold.

test <- as.data.frame(airquality)
test$date <- NA
test$date <- paste(test$Month,"-",test$Day,"- 2024")
test$date <- mdy(test$date)
calendarPlot(test, 
             pollutant = "Ozone",
             month = 5,
             statistic = "mean", 
             annotate = "value",
             main = "'Delta' Junction Air Quality Index"
             auto.text = FALSE
)

screenshot of the generated figure from the code above

Additionally I tried saving the title I desire as an object and then feeding it into the main = in calendarPlot() which still produced the delta symbol not the word delta.

title <- "Delta Junction Air Quality Index"
calendarPlot(test, 
             pollutant = "Ozone",
             month = 5,
             statistic = "mean", 
             annotate = "value",
             main = title)

Screenshot of the figure generated from above code

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kelly Ireland