Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
geom_bar で ggplot の y 軸を操作できるかどうか疑問に思っています
例えば:
library(plyr) df1 <- data.frame(a=c(5,5,10,10,10)) df2 <- ddply(df1,.(a),sum) ggplot(df2,aes(a,V1)) + geom_bar(stat="identity")
df1 を集約する代わりに、そのプロットを ggplot で直接作成することは可能でしょうか?
次を使用してこれを行うことができますstat_summary。
stat_summary
ggplot(df1, aes(a, a)) + stat_summary(fun.y=sum, geom="bar")
私はいくつかの例を検索しましたが、まだ取得していません。GOODオブジェクトのリストをコントローラーからjspページに渡します。リストオブジェクトをループしようとしましたが、1つの要素のみが繰り返し表示されています。豆を使うべきですか?はいの場合、私の場合のより具体的な例を教えてください。
<c:if test="${not