Skip to Content
Rクイックリファレンス 第2版
book

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

by Joseph Adler, 大橋 真也, 木下 哲也
January 2014
Beginner to intermediate
860 pages
20h 37m
Japanese
O'Reilly Japan, Inc.
Content preview from Rクイックリファレンス 第2版
267
13
章
グラフィックス
R
でグラフィックスをプロットするにはさまざまな方法があります。本書では、最
も人気のある
3
つのパッケージ
graphics
、
lattice
、
ggplot2
を主に取り上げます。
graphics
パッケージにはデータをプロットするための多様な関数が集められてい
ます。
graphics
パッケージを使うと、グラフのカスタマイズや変更、画面上のプロッ
トとのやり取りが簡単にできます。
lattice
パッケージには、データをプロットする
ための別の関数群が用意されています。
lattice
グラフィックスは、条件変数でデータ
を分割するのに適しています。最後に、
ggplot2
はグラフィックスに異なるメタファー
を使い、美しいグラフを素早く簡単に作成できます。この章では
graphics
パッケー
ジの概要を説明します。
lattice
グラフィックスの使い方は
14
章、
ggplot2
は
15
章で
説明します。
13.1
 
R
グラフィックスの概要
R
には棒グラフ、円グラフ、折れ線グラフ、散布図などの最も一般的なグラフを描
画するためのツールが用意されています。それに加え、
R
は
QQ
プロット、モザイク図、
等高線図のようなあまりなじみのないグラフも描画できます。
graphics
パッケージ
で提供されている数多くのグラフを以下の表に示します。
グラフィックスパッケージ関数 説明
barplot
棒グラフと縦棒グラフ
dotchart
クリーブランドドットプロット
hist
ヒストグラム
density
カーネル密度プロット
268
13
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

仕事ではじめる機械学習 第2版

仕事ではじめる機械学習 第2版

有賀 康顕, 中山 心太, 西林 孝
初めてのGraphQL ―Webサービスを作って学ぶ新世代API

初めてのGraphQL ―Webサービスを作って学ぶ新世代API

Eve Porcello, Alex Banks, 尾崎 沙耶, あんどうやすし
Rクックブック 第2版

Rクックブック 第2版

J.D. Long, Paul Teetor, 大橋 真也, 木下 哲也

Publisher Resources

ISBN: 9784873116518Other