로딩
티스토리 데이터 처리 중입니다.

R 기초 - ggplot2 그래픽4 - 그래프 옵션

 R 기초 - ggplot2 그래픽4 - 그래프 옵션

R 기초 - ggplot2 그래픽4 - 그래프 옵션 library(ggplot2) library(car) str(Salaries) ggplot(Salaries, aes(x=rank, y=salary, fill=sex)) + geom_boxplot() + scale_x_discrete(breaks=c("AsstProf", "AssocProf", "Prof"), labels=c("Assistant Professor", "Associate Professor", "Professor")) + scale_y_continuous(breaks=c(50000, 100000, 150000, 200000), labels=c("$50k", "$100k", "$150k", "$200k") scale_x_discrete() sc.....