R기초; R 기초 - ggplot2 그래픽5 - 테마
R기초; R 기초 - ggplot2 그래픽5 - 테마 library(ggplot2) library(car) str(Salaries) ggplot(Salaries, aes(x=yrs.since.phd, y=salary, color=rank, shape=rank)) + geom_point() + facet_grid(. ~ sex) + theme_gray() ?theme_gray theme() ggplot(Salaries, aes(x=rank, y=salary, fill=sex)) + geom_boxplot() + labs(title="Salary by Rank and Sex", x="Rank", y="Salary") + theme(plot.title=element_text(face="bold.italic",..
2021. 1. 24.