Book Image

R Graphs Cookbook Second Edition

Book Image

R Graphs Cookbook Second Edition

Overview of this book

Table of Contents (22 chapters)
R Graphs Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Basic Graph Functions

In this chapter, we will cover the following recipes:

  • Creating scatter plots

  • Creating line graphs

  • Creating bar charts

  • Creating histograms and density plots

  • Creating box plots

  • Adjusting x and y axes limits

  • Creating heat maps

  • Creating pairs plots

  • Creating multiple plot matrix layouts

  • Adding and formatting legends

  • Creating graphs with maps

  • Saving and exporting graphs