"R barplot()"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
(R 막대그래프 barplot() 문서로 넘겨주기)
태그: 새 넘겨주기
 
1번째 줄: 1번째 줄:
==개요==
#넘겨주기 [[R 막대그래프 barplot()]]
;R barplot()
 
<syntaxhighlight lang='r'>
table(mtcars$gear)
##  3  4  5
## 15 12  5
barplot(table(mtcars$gear))
</syntaxhighlight>
[[File:Rplot-barplot-mtcars-gear.png|300px]]
 
<syntaxhighlight lang='r'>
barplot(table(mtcars$gear),horiz=TRUE)
</syntaxhighlight>
[[File:Rplot-barplot-mtcars-gear-horiz.png|400px]]
 
==같이 보기==
* [[R hist()]]
* [[R 차트]]
* [[R ggplot2 막대그래프]]
* [[R barplot 축레이블 방향 변경]]
 
==참고==
* https://www.rdocumentation.org/packages/graphics/versions/3.6.1/topics/barplot
 
[[분류: R graphics]]
[[분류: R 막대 그래프]]

2021년 5월 9일 (일) 22:45 기준 최신판

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}