ggplot(Alexdata, aes(x=Year.,y=HR,stat="identity"))+ geom_col()
아래 명령어로 시각화한 결과가 아래처럼 출력됩니다.
혹시 X축에 모든년도 값(1994,1995,1996......,2016)가 출력되게 하려면 어떻게 해야하나요?
현재는 2000, 2010만 출력됩니다
scale_x_continuous()를 이용해야 할 것 같습니다.
ggplot(Alexdata, aes(x=Year.,y=HR,stat="identity"))+ geom_col() + scale_x_continuous(breaks=Year)
scale_x_continuous()를 이용해야 할 것 같습니다.