I know that the names.arg can be used to change the tick names of the X-axis in base R. However, how can you do the same in ggplot2? I can't seem to find anything online.
names.arg
labs(x = "My fabulous X-axis label", y = "Y label", title = "Fun title", subtitle = "sub", caption = "cap below the plot")
You can find the documentation for labeling in ggplot2 here: https://ggplot2.tidyverse.org/reference/labs.html
ggplot2
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.