• Preface
  • 1 How to organize a project folder
  • 2 How to read data into R
  • 3 How to explore a “new” data set
  • 4 How to deal with NA’s
  • 5 How to deal with empty spaces
    • 5.1 Empty spaces in variable names
    • 5.2 Empty spaces in variable values
  • 6 How to do simple re-coding
  • 7 How to create contingency tables
  • 8 How to tally
  • 9 How to join two data tables
  • 10 How to plot data
    • 10.1 Creating basic bar charts
    • 10.2 Creating side-by-side and stacked bar charts
    • 10.3 Creating back-to-back bar charts
    • 10.4 Creating Pareto charts
    • 10.5 Creating lollipop charts
    • 10.6 Creating treemaps
    • 10.7 Creating scatter plots
    • 10.8 Creating side-by-side box plots
    • 10.9 Creating grid plots
    • 10.10 Creating a simple PCA plot
    • 10.11 Creating time series plots
    • 10.12 Showing pop-up’s
    • 10.13 Putting plots in one panel
  • 11 How to create a dynamic report
  • 12 How to learn Shiny
  • 13 How to make a simple data dictionary
  • 14 How to check code efficiency
  • 15 How to put n things in m boxes
  • 16 How to restore lost zeros

R tips: 16 HOWTO’s with examples for data analysts

R tips: 16 HOWTO’s with examples for data analysts

Lingyun Zhang

2017-08-27