並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 14 件 / 14件

新着順 人気順

ggplot2の検索結果1 - 14 件 / 14件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

ggplot2に関するエントリは14件あります。 rR統計 などが関連タグです。 人気エントリには 『ggplot2による可視化入門』などがあります。
  • ggplot2による可視化入門

    ggplot2 パッケージ “Grammer of Graphics”のコンセプトを実装したパッケージ 現在Rにおけるグラフィックで非常に大きな支持を得ている グラフィックの構成要素を意識したレイヤー構造を持つ いわゆる「重ね書き」をイメージするとわかりやすい 拡張パッケージがたくさん (ちょっと勉強すれば)自分でいろいろ作れる tidyverseパッケージ群のひとつ tidyverseのグラフィック担当 インストール CRANからインストールする場合: install.packages("ggplot2") 開発版(github)からインストールする場合: devtools::install_github("tidyverse/ggplot2") tidyverseパッケージ群なので、これでもインストールされる(推奨) install.packages("tidyverse") 読み込み

    • ggplot2 v3.3.0を使ってみた - Technically, technophobic.

      ggplot2 v3.3.0のリリースが近々予定されています。新機能がいろいろあるのでかいつまんで紹介します。 詳しくはNEWS.mdをご参照ください。 after_stat(), after_scale(), stage() The evaluation time of aesthetics can now be controlled to a finer degree. after_stat() supersedes the use of stat() and ..var..-notation, ad is joined by after_scale() to allow for mapping to scaled aesthetic values. Remapping of the same aesthetic is now supported with stage(), so yo

        ggplot2 v3.3.0を使ってみた - Technically, technophobic.
      • ggplot2入門 [応用編]

        はじめに 修正履歴 2020/12/30: 公開 誤字・脱字は随時修正しております。 以下の内容は現在執筆中の内容の一部となります。 Song Jaehyun・矢内勇生『私たちのR: ベストプラクティスの探求』(E-book) 「可視化 [応用]」章を抜粋したものであり、今後のアップデートは『私たちのRで行います。 ここをお読みになる前に、まず、dplyr入門 (新版)とggplot2入門 [理論編]、ggplot2入門 [基礎編]を一読して下さい。 したがって、いきなりオブジェクト、関数、引数といった馴染みのない概念が出てきます。これらの概念に馴染みのない方は、予め「Rプログラミング入門の入門」の前半をご一読ください。 応用編の内容 理論編と基礎編では{ggplot2}の概念と5つの代表的なグラフ(棒、ヒストグラム、箱ひげ図、散布図、折れ線)の作り方について説明しました。本章では軸の調整

        • ggplot2入門 [発展編]

          はじめに 修正履歴 2022/01/16: 公開 誤字・脱字は随時修正しております。 以下の内容は現在執筆中の内容の一部となります。 Song Jaehyun・矢内勇生『私たちのR: ベストプラクティスの探求』(E-book) 「可視化 [発展編]」章を抜粋したものであり、今後のアップデートは『私たちのR』で行います。 ここをお読みになる前に、まず、dplyr入門 (新版)とggplot2入門 [理論編]、ggplot2入門 [基礎編]、ggplot2入門 [応用編]を一読して下さい。 したがって、いきなりオブジェクト、関数、引数といった馴染みのない概念が出てきます。これらの概念に馴染みのない方は、予め「Rプログラミング入門の入門」の前半をご一読ください。 発展編の内容 ggplot2入門 [理論編]では{ggplot2}の仕組みについて、ggplot2入門 [基礎編]ではよく使われる5種

          • A ggplot2 Tutorial for Beautiful Plotting in R - Cédric Scherer

            Introductory Words I don’t care, just show me the content! Back in 2016, I had to prepare my PhD introductory talk and I started using {ggplot2} to visualize my data. I never liked the syntax and style of base plots in R, so I was quickly in love with ggplot. Especially useful was its faceting utility. But because I was short on time, I plotted these figures by trial and error and with the help of

              A ggplot2 Tutorial for Beautiful Plotting in R - Cédric Scherer
            • ggplot2: Elegant Graphics for Data Analysis (3e)

              Welcome This is the on-line version of work-in-progress 3rd edition of “ggplot2: elegant graphics for data analysis” published by Springer. You can learn what’s changed from the 2nd edition in the Preface. While this book gives some details on the basics of ggplot2, its primary focus is explaining the Grammar of Graphics that ggplot2 uses, and describing the full details. It is not a cookbook, and

              • メモ:dplyr・ggplot2 で {{ }} を使う - Technically, technophobic.

                追記(2021/03/26): 開発版では「facet_*() の場合」も動くようになりました。 こういうデータが手元にあるとします。 library(readr) library(dplyr, warn.conflicts = FALSE) library(ggplot2) library(lubridate, warn.conflicts = FALSE) d_raw <- read_csv( "https://stopcovid19.metro.tokyo.lg.jp/data/130001_tokyo_covid19_patients.csv", col_types = cols( No = col_integer(), 全国地方公共団体コード = col_integer(), 公表_年月日 = col_date(), 発症_年月日 = col_date(), 確定_年月日 = c

                  メモ:dplyr・ggplot2 で {{ }} を使う - Technically, technophobic.
                • Galaaz を触ってみた(TruffleRuby + ggplot2 で散布図を描いてみた) - Qiita

                  日本語での言及がまだないようだったので TruffleRuby + Galaaz の人柱やってみました。GraalVM, R, ggplot2 について詳しくない人が見様見真似で書いています。 (このグラフは graalvm-demos に入っているデモコードを実行して描いたもの) Galaaz GraalVM を使って R の機能を Ruby から使うための gem。 作者の Rodrigo Botafogo さんによる解説記事。これらの記事で Galaaz の存在を知りました。 graalvm-demos This repository contains several small applications. These programs illustrate the capabilities of GraalVM GraalVM を使うとこんなことができるよ、というデモを集めたリポジ

                    Galaaz を触ってみた(TruffleRuby + ggplot2 で散布図を描いてみた) - Qiita
                  • 【ggplot2】themeの使い方まとめ2021:作ったグラフの見た目をきれいにコントロールするために - Qiita

                    ggplot2でグラフを作っているときに困ること ggplot2を用いてR上で作図を行っていると なんかデフォルトだとx軸とy軸見えないから書き込みたいな 背景を灰色じゃなくて白にしたい! x軸のタイトルを消して、x軸のラベルをななめ書きにしたいな… などのグラフの見た目に関わる変更を行いたいときがあると思います。 しかし、このような変更をどのようなコードで実行すればよいのかわからず困るかもしれません。 そんな時には… themeで軸の書き込み! # Before ggplot(iris, aes(x = Sepal.Length, Sepal.Width, color = Species)) + geom_point() # After ggplot(iris, aes(x = Sepal.Length, Sepal.Width, color = Species)) + geom_poi

                      【ggplot2】themeの使い方まとめ2021:作ったグラフの見た目をきれいにコントロールするために - Qiita
                    • Reordering and facetting for ggplot2 | Julia Silge

                      I recently wrote about the release of tidytext 0.2.1, and one of the most useful new features in this release is a couple of helper functions for making plots with ggplot2. These helper functions address a class of challenges that often arises when dealing with text data, so we’ve included them in the tidytext package. Let’s work through an example To show how to use these new functions, let’s wal

                        Reordering and facetting for ggplot2 | Julia Silge
                      • 折れ線グラフの端っこにラベルを付けるやつ(ggplot2) - StatsBeginner: 初学者の統計学習ノート

                        最近になって遅ればせながらggplot2を頻繁に使うようになってきました。 で、↑こういうふうに、折れ線の端っこにラベルを置きたいと思いました。白黒の記事原稿で4本もの折れ線を重ねるのは見づらいのでそもそもやめたほうがいいですが、人生いろいろあるわけです。 そして、ggplot2の線種は見分けがつきにくいので、凡例だけで示すのは難しい。 ググると解説ブログがいくつか見つかりますが、パット見では何をやっているのか意味がわかりやすくない気もしたので、メモしておきます。 考え方としては、 ggplot2の他にggrepelパッケージを入れておく。これは互いに重ならない「いい感じのラベル」を書くときに使うもの。 x軸の範囲を左右に少し広げておく。 折れ線の末端を「点」とみなして、そこに新たに散布図を描くようなイメージで、geom_text_repelでテキストを置く。 散布図にnudge(点とラベ

                          折れ線グラフの端っこにラベルを付けるやつ(ggplot2) - StatsBeginner: 初学者の統計学習ノート
                        • ggplot2の図をパネル状に並べる (cowplot, patchwork, egg, ggpubr) - A plant researcher

                          6 min read ggplot2の図をパネル状に並べる (cowplot, patchwork, egg, ggpubr) 2018/07/21 ggplot2パネル表示のメモ とくに論文書きでは関係する図をパネル状に並べて表示する機会が多い。 ggplot2のfacetファミリーでどうにかできる場合はいいが、そうでないとパネル分けでいつももたつく。 いくつかのパネル作成パッケージを比較して頭の中を整理する。 packages 現行でパネル作成可能なパッケージなうち、以下の4パッケージを試す。 cowplot patchwork egg ggpubr そのほかにもまだいくつかあるが省略。 grid R core どのパッケージも内部的にはgrid経由で表示している viewport/grid.layout gridExtra & gtable Arranging multiple gr

                          • Data visualization with R and ggplot2 | the R Graph Gallery

                            ggplot2 is a R package dedicated to data visualization. It can greatly improve the quality and aesthetics of your graphics, and will make you much more efficient in creating them. ggplot2 allows to build almost any type of chart. The R graph gallery focuses on it so almost every section there starts with ggplot2 examples. This page is dedicated to general ggplot2 tips that you can apply to any cha

                            • ggplot2を初歩から要点押さえて使いこなす チュートリアルとコード集

                              ggplot2で魅せる・役立つ・引き立つグラフを! 上から順に、コードを実行しながら読んでいただけたら、 およそ必要なスキル(日常で使える大体のグラフ)は出力できるようになっているはずです。

                              1

                              新着記事