[R] Putting 733 discrete categories on Y-axis in qqplot2 as they are

greg holly mak.hholly at gmail.com
Thu Feb 15 15:58:02 CET 2018


Hi all;

I have 733 discrete categories that will go on y-axis in ggplot2. I used
the following command to put the name of x-axis.

scale_x_discrete (limits = c("SI", "HOMAIR",
"AIR","HOMAB","SG","DI","FI","FG"))

Since there are only 8 categories on x it was easy to do. Is there any way
to do the same for 733 discrete categories for y-axis. Essentially I did
not want to order categories. I would like to put the name of categories as
they are.

Best regards,

Greg

	[[alternative HTML version deleted]]



More information about the R-help mailing list