{"id":50374,"url":"https://github.com/kazutan/awesome-ggplot2","name":"awesome-ggplot2","description":"ggplot2に関連する素敵なパッケージリスト","projects_count":33,"last_synced_at":"2026-07-15T13:00:30.008Z","repository":{"id":30559934,"uuid":"34114754","full_name":"kazutan/awesome-ggplot2","owner":"kazutan","description":"ggplot2に関連する素敵なパッケージリスト","archived":false,"fork":false,"pushed_at":"2015-10-23T08:45:06.000Z","size":192,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-06-10T04:03:18.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kazutan.png","metadata":{},"created_at":"2015-04-17T12:13:53.000Z","updated_at":"2025-07-24T11:18:40.000Z","dependencies_parsed_at":"2022-08-17T19:45:21.292Z","dependency_job_id":null,"html_url":"https://github.com/kazutan/awesome-ggplot2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kazutan/awesome-ggplot2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazutan%2Fawesome-ggplot2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazutan%2Fawesome-ggplot2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazutan%2Fawesome-ggplot2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazutan%2Fawesome-ggplot2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kazutan","download_url":"https://codeload.github.com/kazutan/awesome-ggplot2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazutan%2Fawesome-ggplot2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34841990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"created_at":"2024-01-14T11:15:55.211Z","updated_at":"2026-07-15T13:00:30.009Z","primary_language":null,"list_of_lists":false,"displayable":true,"categories":["パッケージ紹介"],"sub_categories":["ggparallel","ggExtra","ggmap","ggdendro","ggthemr","ggthemes","GGally","ggfortify","ggmcmc"],"readme":"# awesome-ggplot2\nggplot2に関連するパッケージは現在かなりの数があります。その中から「これはいいね」という素敵なパッケージを集めてまとめることにしました。なお現在試験的に作成しています。\n\n## index (追加順)\n- [ggparallel](#ggparallel) - カテゴリカル変数間で並行座標プロットを`ggplot2`で描写\n- [ggExtra](#ggextra) - 散布図の周りに周辺分布(ヒストグラム)を同時出力\n- [ggmap](#ggmap) - `ggplot2`で地図\u0026位置データを活用したプロットを描写\n- [ggdendro](#ggdendro) - デンドログラムや樹形図を描写\n- [ggthemr](#ggthemr) - テーマ拡張\n- [ggthemes](#ggthemes) - テーマ拡張\n- [GGally](#ggally) - ペアプロットを`ggplot2`で描写など\n- [ggfortify](#ggfortify) - 主要パッケージの出力をそのまま`ggplot`\n- [ggmcmc](#ggmcmc) - mcmcの出力を簡単に`ggplot`へ\n\n以下準備・検討中リスト\n\n{pitchRx},{RcmdrPlugin.KMggplot2},{eeptools},{ggsubplot},{popgraph},{PairedData},{ggRandomForests},{xkcd},{COPASutils},{ggROC},{granovaGG},{PKreport},{bdscale},{ggswissmaps},{MCMC.OTU},{gapmap},{ggenealogy},{Rz},{PKgraph},{mapDK},{orgR},{vdmR},{ggtern},{sjPlot},{choroplethr},{ggcyto},{ggtree},{waffle},{cowplot}\n\n## パッケージ紹介\n### ggparallel\n- サイトリンク\n  - [GitHub](https://github.com/heike/ggparallel)\n  - [CRAN](http://cran.r-project.org/web/packages/ggparallel/index.html)\n- 概要\n  - `ggplot2`を利用して並行座標プロットを描きます\n  - カテゴリカル変数間で、水準間にどの程度つながりがあるかをリボンでつなぐことで図示しています\n  - 図示するパターンがいくつかあり、オプションを設定することで色々できます\n  - もちろん`ggplot2`を利用していますので、Scalesなどにも対応\n- サンプルコード\n  - `ggparallel::ggparallel()`のヘルプをご覧ください。\n  - 上記のExampleを実行・解説したサンプル: [RPubs - gparallel_Example](http://rpubs.com/kazutan/ggparallel_example)\n- インストール\n  - CRANよりインストール\n```R\ninstall.packages(\"ggparallel\")\n```\n\n### ggExtra\n- サイトリンク\n  - [GitHub](https://github.com/daattali/ggExtra)\n  - [CRAN](http://cran.r-project.org/web/packages/ggExtra/index.html)\n- 概要\n  - `ggplot2`で描写した散布図に、x and/or yの周辺度数の分布を加えてくれるパッケージ\n  - メイン機能`ggMarginal()`に`ggplot()`で作成したオブジェクトを放り込むと作成可能\n  - `\u003e ggmarginal(data=mtcars,x=\"wt\",y=\"mpg\")`というようにデータから直接でも可能\n- サンプルコード\n  - 基本的な使い方は[GitHub](https://github.com/daattali/ggExtra)もしくはパッケージ内[vignette](http://cran.r-project.org/web/packages/ggExtra/vignettes/overview.html)を\n  - デモとコード生成をしてくれる[Shiny app](http://daattali.com:3838/ggExtra-ggMarginal-demo/)がありますのでぜひチェックしてください。\n- インストール\n  - CRANよりインストール\n```R\ninstall.packages(\"ggExtra\")\n```\n\n### ggmap\n- サイトリンク\n  - [GitHub](https://github.com/dkahle/ggmap)\n  - [CRAN](http://cran.r-project.org/web/packages/ggmap/index.html)\n- 概要\n  - `ggplot`で地図(GoogleMap, OpenStreetMapなど)を描く\u0026地図上にプロットを描くパッケージ\n  - `get_map()`でMapオブジェクト(表示させる地図データ)を設置\n  - `ggmap()`でMapオブジェクトをplot\n  - `geocode()`(地名から緯度経度を出力)や`revgeocode()`(緯度経度から住所を出力)も便利\n  - `ggimage(hadley)`であの方が…\n- サンプルコード\n  - 極々基本的な使い方は[GitHub](https://github.com/dkahle/ggmap)を\n  - サンプル: [地図を描きたい俺はgoogleVisパッケージかggmapパッケージかどちらを使おうか迷うが、静的な地図を描きたい場合はggmapで良いみたい](http://d.hatena.ne.jp/teramonagi/20140815/1408099162) \n- インストール\n  - CRANよりインストール\n```R\ninstall.packages(\"ggmap\")\n```\n\n### ggdendro\n- サイトリンク\n  - [GitHub](https://github.com/andrie/ggdendro)\n  - [CRAN](http://cran.r-project.org/web/packages/ggdendro/index.html)\n- 概要\n  - `ggplot`を使ってデンドログラムや樹形図を描かせるパッケージ\n  - 基本関数`ggdendrogram()`では、出力オブジェクトはggplotクラスで返します\n  - `dendro_data()`関数を使えば、デンドログラムなどの出力結果を`ggplot()`に放り込めるデータ型へ変換\n  - `hclust`や`tree`、`dendrogram`や`rpart`クラスに対応\n- サンプルコードなど\n  - 基本的な使い方はパッケージの[vignette](http://cran.r-project.org/web/packages/ggdendro/vignettes/ggdendro.html)を\n  - 上記を参考に作成したサンプル: [RPubs - ggdendroのテスト](https://rpubs.com/kazutan/ggdendro_test)\n- インストール\n  - CRANよりインストール\n```R\ninstall.packages(\"ggdendro\")\n```\n  \n### ggthemr\n- サイトリンク\n  - [GitHub](https://github.com/cttobin/ggthemr)\n- 概要\n  - `ggplot`オブジェクトにテーマを自動的に割り当てることができる拡張パッケージです\n  - 事前に`ggthemr('sea')`のようにテーマをセットすれば、以降自動的にそのテーマでggplotされます\n  - 解除したいときは`ggthemr_reset()`を実行\n  - 他にもレイアウトやスペースなどを設定可能\n- サンプルコードなど\n  - 各テーマの例は[GitHub](https://github.com/cttobin/ggthemr)を\n  - メイン関数`ggthemr`については[How to use the ggthemr R function | Rdocumentation](http://www.rdocumentation.org/packages/ggthemr/functions/ggthemr)を\n- インストール\n  - GitHubよりインストール\n```R\nlibrary(\"devtools\")\ninstall_github('ggthemr', 'cttobin')\n```\n\n### ggthemes\n- サイトリンク\n  - [GitHub](https://github.com/jrnold/ggthemes)\n  - [CRAN](http://cran.r-project.org/web/packages/ggthemes/index.html)\n- 概要\n  - `ggplot2`にテーマ設定を簡単に当てることができるようになる拡張パッケージです\n  - ` + theme_stata()`のようにtheme_(テーマ名)と追加するだけで変更可能\n  - Scalesについてもカラーパターンが色々準備されています\n  - ` + theme_excel()`であのグラフが眼前に蘇ります\n- サンプルコードなど\n  - 基本的な使い方およびサンプルコードは[GitHub](https://github.com/jrnold/ggthemes)を\n  - 上のREADME.mdの内容は`vignette(\"ggthemes\")でも確認できます(html)\n- インストール\n  - CRANよりインストール(Windowsでは事前に`Rtools`のインストールが必要)\n```R\ninstall.packages(\"ggthemes\", dependencies=TRUE)\n```\n\n### GGally\n- サイトリンク\n  - [GitHub](https://github.com/ggobi/ggally)\n  - [CRAN](http://cran.r-project.org/web/packages/GGally/index.html)\n- 概要\n  - `ggplot2`での作画を補助・拡張するパッケージです\n  - `ggpairs()`でペアプロット図を`ggplot2`出力で描くことが可能\n  - titleなどのオプションの指定は`ggplot2`とは異なり関数内オプションでそのまま記述\n  - `ggnet()`は`ggplot2`を使って`igraph`or`network`classのオブジェクトからネットワークプロットを作成\n- サンプルコードなど\n  - 基本的な使い方は[`ggpairs()`のヘルプ](http://rpackages.ianhowson.com/cran/GGally/man/ggpairs.html)を\n  - サンプル: [美しいペアプロット図を簡単に作る - My Life as a Mock Quant](http://d.hatena.ne.jp/teramonagi/20130412/1365767677)\n  - サンプル: [美しいペアプロット図を簡単に作る - 驚異のアニヲタ社会復帰への道](http://d.hatena.ne.jp/MikuHatsune/20130412/1365774348)\n- インストール\n  - CRANよりインストール\n```R\ninstall.packages(\"GGally\", dependencies=TRUE)\n```\n\n### ggfortify\n- サイトリンク\n  - [GitHub](https://github.com/sinhrks/ggfortify)\n  - [CRAN](https://cran.r-project.org/web/packages/ggfortify/index.html)\n- 概要\n  - 一般的なRパッケージで`ggplot2`をスムーズに使えるようにしたパッケージです\n  - カバーしているパッケージが非常に多く、また設定も簡単に行えます\n- サンプルコードなど\n  - 解説およびサンプルは上記GitHubのリンクを参照してください\n  - サンプル: [RPubs - Concepts and Basics of ggfortify](http://rpubs.com/sinhrks/basics)\n- インストール\n  - CRANよりインストール\n```R\ninstall.packages(\"ggfortify\", dependencies=TRUE)\n```\n\n### ggmcmc\n- サイトリンク\n  - [GitHub](https://github.com/xfim/ggmcmc)\n  - [CRAN](http://cran.r-project.org/web/packages/ggmcmc/index.html)\n  - [サイト](http://xavier-fim.net/packages/ggmcmc/)\n- 概要\n  - `ggplot2`を使ってMCMCの実行結果を容易に可視化するパッケージです。\n  - `JAGS`に加えて`MCMCpack`、`rstan`などの出力に対応しています。\n- 解説・サンプルコードなど\n  - 解説及びサンプルは上記サイトのリンクを参照してください\n  - サンプル: [RPubs - Plotting Stan results with ggmcmc](http://rpubs.com/ssong/ggmcmc_stan)\n- インストール\n  - CRANミラーよりインストール\n```R\ninstall.packages(\"ggmcmc\", dependencies=TRUE)\n```\n","projects_url":"https://awesome.ecosyste.ms/api/v1/lists/kazutan%2Fawesome-ggplot2/projects"}