ニュース

ggplot2による散布図の書き方 自己紹介 分析屋の堀井です。 今回はTidyverseというRを語るうえで欠かせないパッケージ群の中からggplot2を用いた散布図の書き方を紹介しようと思います。
ggplot2 extension cookbook 🫖 Preface and acknowledgements Getting started easy geom_* functions: writing new definitions for where and how of marks on ggplots geom_text_coordinate: 1:1:1, ...
グラフを追加する ggplot2はグラフを重ねることができます。 ここでは性別で色分けしたグラフに回帰直線を追加してみます。 回帰直線はgeom_smooth ()で追加します。 method = "lm"とすることで回帰直線を追加します(直線以外の設定も可能)。
Description Aids the eye in seeing patterns in the presence of overplotting. geom_smooth and stat_smooth are effectively aliases: they both use the same arguments. Use geom_smooth unless you want to ...
My solutions to exercises in Hadley Wickham's "ggplot2: Elegant Graphics for Data Analysis" 2ed - kangnade/ggplot2-solutions ...
Do you want to use ggplot2, dplyr, or other tidyverse functions in your own functions? This easy example shows how Tidy evaluation in R, or tidy eval for short, is a pretty complex topic. But for ...