第3章ではggplot2を使ったグラフの作り方を紹介しています。 今回は棒グラフに関して必要な情報を網羅的に掲載しました。Rのコードだけでなく、考え方や注意点に関してもまとめたつもりです。そのため辞書的に使ったり、ChatGPTに出してもらったコードで ...
The ggplot2 package is powerful and almost endlessly customizable, but sometimes small tweaks can be a challenge. The ggtext package aims to simplify styling text on your visualizations. In this ...
棒グラフや折れ線グラフは、1つの要因に対して1つの結果を示す「2要因の可視化」に向いています。けれど、3つの要素を同時に可視化したいときには、**ヒートマップ(heatmap)**がとても便利です。 この記事では、Rとggplot2を使ってヒートマップを作成する ...
Note the column name, mpg, is unquoted. That feature hasn’t been handy, though, if you want to write your own R functions using the tidyverse. That’s because base R functions usually need quoted ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする