R 기초; ggplot2 그래픽2 - geom 함수 옵션 library(ggplot2) head(mtcars) ggplot(data=mtcars, aes(x=wt, y=mpg)) + geom_point() + geom_smooth() + labs(title="Fuel consumption vs weight", x="Weight (1000 lbs)", y="Fuel consumption (miles per gallon)") ?geom_point ?
par ?colors() ?
geom_smooth ?geom_text( library(car) str(Salaries) ggplot(Salaries, aes(x=rank, y=salary)) + geom_boxplot(fill="salmon", color="dimg.....
원문 링크 : R 기초; ggplot2 그래픽2 - geom 함수 옵션