Chapter 13 Help!?

If you are stuck doing something in R, the quickest way to find help, is to get information on the functions that you are using from R itself. For instance, if you want to know more about ggplot's histograms, you can type ?geom_histogram. This will give you the minimal information in order to understand the function. I find the information provided by R rather difficult to read at times, so I'll typically use google.

The stackoverflow-pages are also very helpful, because they present problems that people have had and their solutions. Nine times out of ten, you're not the first who came across a particular problem. For example:

The cheatsheets provided by RStudio are very helpful (

I recommend the following books on R:

  1. Hadley Wickham & Garrett Grolemund – R for Data Science. (Garrett Grolemund 2017) see here

For visualisations, the following books:

  1. Hadley Wickham – ggplot2: Elegant Graphics for Data Analysis. (Wickham 2016) see here

  2. Winston Chang – R-graphics cookbook. (Chang 2012) see here

  3. Kieran Healy – Data Visualization for Social Science. (Healy 2018) see here

If you are interested in visualising, you can also try my online workshop:

13.0.1 References

Garrett Grolemund, Hadley Wickham &. 2017. R for Data Science. 1st ed. California, US: O'Reilly Media.

Wickham, Hadley. 2016. Ggplot2: Elegant Graphics for Data Analysis. 2nd ed. Cham, Switzerland: Springer International Publishing.

Chang, Winston. 2012. R-Graphics Cookbook. 1st ed. California, US: O'Reilly Media.

Healy, Kieran. 2018. Data Visualization for Social Science: A Practical Introduction with R and Ggplot2. 1st ed. world: the internet.