5-3 다변량 자료의 탐색 R 선그래프 plot() lines()
R 선그래프 두개의 변수 중 하나가 시간을 나타내는 값일 때 사용 시계열 분석 month=c(1:12) late=c(5,8,7,9,4,6,12,13,8,6,6,4) plot(late~month, main="Late Students", type="l", lty=1, lwd=1) 복수의 선 그래프 그리기 하나의 선 그래프를 그린 후에 그 위에 다른 선그래프를 겹쳐 그리는 방식 month=c(1:12) late1=c(5,8,7,9,4,6,12,13,8,6,6,4) late2=c(4,6,5,8,7,8,10,11,6,5,7,3) plot(late1~month, main="Late Students", type="l", lty=1, lwd=1) lines(late2~month, type="b", col="blue")..