Book Image

R Data Visualization Cookbook

Book Image

R Data Visualization Cookbook

Overview of this book

Table of Contents (17 chapters)
R Data Visualization Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 1. A Simple Guide to R

In this chapter, we will cover the following recipes:

  • Installing packages and getting help in R

  • Data types in R

  • Special values in R

  • Matrices in R

  • Editing a matrix in R

  • Data frames in R

  • Editing a data frame in R

  • Importing data in R

  • Exporting data in R

  • Writing a function in R

  • Writing if else statements in R

  • Basic loops in R

  • Nested loops in R

  • The apply, lapply, sapply, and tapply functions

  • Using par to beautify a plot in R

  • Saving plots