R Data Visualization Cookbook
上QQ阅读APP看书,第一时间看更新

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