How do I show all boxplot labels
问题 I've created a box plot, the data on the left is the continous variable and the data on the right has about 10 unique options. When I create the boxplot I cannot see the labels. How do I make it show all the labels, possibly vertically? boxplot(data$Rate ~ as.factor(data$Purpose)) I've looked around and cannot work out what im trying to follow. 回答1: You can add argument las=2 to function boxplot() to make all labels perpendicular to axis. df<-data.frame(Rate=rnorm(100),Purpose=rep(letters[1