Skip to Content
Rクックブック 第2版
book

Rクックブック 第2版

by J.D. Long, Paul Teetor, 大橋 真也, 木下 哲也
January 2020
Intermediate to advanced
584 pages
7h 18m
Japanese
O'Reilly Japan, Inc.
Content preview from Rクックブック 第2版

10章グラフィックス

グラフィックスはRの威力が発揮できる部分です。graphicsパッケージは標準ディストリビューションに含まれ、さまざまなグラフ表示を作成するための便利な関数を多数持っています。tidyverseパッケージの一部であるggplot2によって、基本機能が拡張され簡単になっています。本章ではggplot2を使った例を重点的に取り上げますが、折に触れて他のパッケージも紹介します。本章の「関連項目」の節では、同じ処理を異なる方法で行う別のパッケージを示します。ggplot2や基本的なグラフィックスで満足できない場合には、これらの代替手段を調べてみることをお勧めします。

グラフィックスは大きなテーマなので、この章ではほんの一部しか紹介できません。O'ReillyクックブックシリーズのWinston Chang著『R Graphics Cookbook, 2nd ed』(https://oreil.ly/2IhNUQj、邦題『Rグラフィックスクックブック第2版』オライリー・ジャパン)は、ggplot2を使った多くの便利なレシピを紹介しています。もっと深く掘り下げたければ、Paul Murrell著の『R Graphics』(Chapman & Hall、2006年、邦題『R グラフィックス』共立出版)をお勧めします。この書籍は、Rグラフィックスの背景となるパラダイムが述べられ、グラフィックス関数の使い方を説明し、多数の例を掲載しています(例を再現するコードもあります)。中には驚くほど見事な例もあります。

グラフについて

本章に登場するグラフのほとんどはシンプルで、装飾がありません。意図的にそうしています。次のようにggplot関数を呼び出してみましょう。

library(tidyverse) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Rクイックリファレンス 第2版

Rクイックリファレンス 第2版

Joseph Adler, 大橋 真也, 木下 哲也
ハイパフォーマンスPython 第2版

ハイパフォーマンスPython 第2版

Micha Gorelick, Ian Ozsvald, 中山 光樹
Rではじめるデータサイエンス 第2版

Rではじめるデータサイエンス 第2版

Hadley Wickham, Mine Çetinkaya-Rundel, Garrett Grolemund, 大橋 真也
Rではじめるデータサイエンス

Rではじめるデータサイエンス

Hadley Wickham, Garrett Grolemund, 黒川 利明, 大橋 真也

Publisher Resources

ISBN: 9784873118857Other