I am plotting number of residents against the dorm room numbers (4 digits). The room numbers are supposed to be strings. But when I used as.character(RmNum), the axis still shows as numeric.
meanResidents = c(3, 4, 3, 2, 4, 5) rmNumber = c(2034, 3043, 4012, 2035, 2022, 3013) plot(as.character(rmNumber), meanResidents, xlab = as.character(rmNumber))
I would want the dorm numbers showing vertically in the axis. Can someone help me with that?