ggplot(~~) +
geom_line(~~) +
theme(axis.title.y.left = element_text(color=cols[1]),
axis.text.y.left = element_text(color=cols[1]),
axis.title.y.right = element_text(color=cols[2]),
axis.text.y.right = element_text(color=cols[2]))
'[R] 연습' 카테고리의 다른 글
R 함수 참고용 (0) | 2022.09.09 |
---|---|
[R] apply() 함수 (0) | 2022.05.21 |
[R] 맥에서 ggplot 한글 깨질 때 (0) | 2022.05.15 |
[R] 문자열 합치기 (0) | 2022.05.14 |
[R] 특정 열 삭제하기 (0) | 2022.05.08 |