I'm trying to make a presentation on ggplot2 graphics using beamer + sweave. Some slides should have two columns; the left one for the code, the right one for the resulting graphic. Here's what I tried, \documentclass[xcolor=dvipsnames]{beamer} \usepackage{/Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/Sweave} \usepackage[english]{babel} \usepackage{tikz} \usepackage{amsmath,amssy
R-bloggers R news and tutorials contributed by hundreds of R bloggers [This article was first published on Triad sou., and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don't. RcmdrPlugin.KMggplot2 (CRAN) I posted an Rcmdr plug-in for a “ggplot2” GUI front-end on
I'd like to show data values on stacked bar chart in ggplot2. Here is my attempted code library(ggplot2) Data <- data.frame( Year = c(rep(c("2006-07", "2007-08", "2008-09", "2009-10"), each = 4)), Category = c(rep(c("A", "B", "C", "D"), times = 4)), Frequency = c(168, 259, 226, 340, 216, 431, 319, 368, 423, 645, 234, 685, 166, 467, 274, 251) ) ggplot(Data, aes(Year, Frequency, fill = Category)) +
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く