Preface

This guide’s primary focus is on Basic R. When graphics are involved, command functions in both Basic R and a package called ggplot2 will be shown. Graph enhancements will be kept to a minimum.

Although there are R packages that may do the same or better job than Basic R, this tutorial will not delve into those packages. Exploring other packages will be left for the student to look into, if the student so wishes.

Datasets will be taken mostly from those built into R. Since this is mainly a tutorial on the R commands necessary to do statistics, interpretation of result will be kept to a minimum.

To get a better understanding of R, it is highly recommended that the student follow along by entering codes in RStudio, comparing results with the given results and then exploring further on their own.