Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danli-ds/R-Resources-for-Social-Scientists

My collection of resources related to R
https://github.com/danli-ds/R-Resources-for-Social-Scientists

Last synced: 3 months ago
JSON representation

My collection of resources related to R

Awesome Lists containing this project

README

        

This is my collection of resources related to [R](http://www.r-project.org/).

## [The Official R Manuals](http://cran.r-project.org/manuals.html)

* [An Introduction to R](http://cran.r-project.org/doc/manuals/r-devel/R-intro.html) ([PDF](http://cran.r-project.org/doc/manuals/r-devel/R-intro.pdf)), a basic introduction for beginners.
* [R Data Import/Export](http://cran.r-project.org/doc/manuals/r-devel/R-data.html) ([PDF](http://cran.r-project.org/doc/manuals/r-devel/R-data.pdf)), a data import and export guide.
* [Writing R Extensions](http://cran.r-project.org/doc/manuals/r-devel/R-exts.html) ([PDF](http://cran.r-project.org/doc/manuals/r-devel/R-exts.pdf)), a development guide for R.
* [The R Language Definition](http://cran.r-project.org/doc/manuals/r-devel/R-lang.html) ([PDF](http://cran.r-project.org/doc/manuals/r-devel/R-lang.pdf)), a more technical discussion of the R language itself.
* [R Internals](http://cran.r-project.org/doc/manuals/r-devel/R-ints.html) ([PDF](http://cran.r-project.org/doc/manuals/r-devel/R-ints.pdf)), internal structures and coding guidelines.
* R Reference Index ([PDF](http://cran.r-project.org/doc/manuals/r-devel/fullrefman.pdf)), contains all help files of the R standard and recommended packages in printable form.
* [The Statistical Sleuth (3rd Edition) In R](http://www.math.smith.edu/~nhorton/sleuth3/) by Nicholas Horton, Linda Loi, Kate Aloisio, and Ruobing Zhang

## Other CRAN Resources

* [Packages in the standard library](http://stat.ethz.ch/R-manual/R-patched/doc/html/packages.html)
* [R mailing lists](http://www.r-project.org/mail.html): [The R-help Archives](https://stat.ethz.ch/pipermail/r-help/)
* [Task Views](http://cran.r-project.org/web/views/) - Summary of useful packages by subject area.
- [Multivariate Statistics](http://cran.r-project.org/web/views/Multivariate.html)
- [Official Statistics & Survey Methodology](http://cran.r-project.org/web/views/OfficialStatistics.html)
- [Reproducible Research](http://cran.r-project.org/web/views/ReproducibleResearch.html)
- [Robust Statistical Methods](http://cran.r-project.org/web/views/Robust.html)
- [Statistics for the Social Sciences](http://cran.r-project.org/web/views/SocialSciences.html)
* [Free books](http://cran.r-project.org/doc/contrib/), [commercially available books](http://www.r-project.org/doc/bib/R-books.html) and [other user-contributed documents](http://cran.r-project.org/other-docs.html) ([English](http://cran.r-project.org/other-docs.html#english) and [Chinese](http://cran.r-project.org/other-docs.html#nenglish)) on R in a variety of languages.
* [The R Journal](http://journal.r-project.org/archive/) publishes research articles and summaries of major revisions.
* [R FAQ](http://cran.r-project.org/doc/FAQ/R-FAQ.html) - Official list of R FAQs

## Relevant CRAN Task Views for my research
* [Graphic Displays & Dynamic Graphics & Graphic Devices & Visualization](https://cran.r-project.org/web/views/Graphics.html)
* [Multivariate Statistics](https://cran.r-project.org/web/views/Multivariate.html)
* [Reproducible Research](https://cran.r-project.org/web/views/ReproducibleResearch.html)
* [Statistics for the Social Sciences](https://cran.r-project.org/web/views/SocialSciences.html)
* [Psychometric Models and Methods](https://cran.r-project.org/web/views/Psychometrics.html)

## Free Resources

### Free books on R

* [The R Inferno](http://www.burns-stat.com/pages/Tutor/R_inferno.pdf) by Patrick Burns
* [Impatient R](http://www.burns-stat.com/documents/tutorials/impatient-r/) by Patrick Burns
* [A Little Book of R for Biomedical Statistics](http://a-little-book-of-r-for-biomedical-statistics.readthedocs.org/en/latest/index.html) ([PDF](https://media.readthedocs.org/pdf/a-little-book-of-r-for-biomedical-statistics/latest/a-little-book-of-r-for-biomedical-statistics.pdf)) by Avril Coghlan
* [A Little Book of R for Multivariate Analysis](http://little-book-of-r-for-multivariate-analysis.readthedocs.org/en/latest/) ([PDF](https://media.readthedocs.org/pdf/little-book-of-r-for-multivariate-analysis/latest/little-book-of-r-for-multivariate-analysis.pdf)) by Avril Coghlan
* [A Little Book of R for Time Series](http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/) ([PDF](https://media.readthedocs.org/pdf/a-little-book-of-r-for-time-series/latest/a-little-book-of-r-for-time-series.pdf)) by Avril Coghlan
* [Practical Regression and Anova Using R](http://www.maths.bath.ac.uk/~jjf23/book/) ([PDF](http://www.maths.bath.ac.uk/~jjf23/book/pra.pdf)) by Julian Faraway
* Multivariate Statistics with R ([PDF](http://local.disia.unifi.it/rampichini/analisi_multivariata/Hewson_notes.pdf)) by Paul Hewson
* [learnR](http://renkun.me/learnR/index.html) by Yun Ken
* [Introduction to Probability and Statistics Using R (IPSUR)](http://ipsur.org/) by G. Jay Kerns
* [Introduction to Statistical Thought](http://people.math.umass.edu/~lavine/Book/book.html) ([PDF](http://people.math.umass.edu/~lavine/Book/book.pdf)) by Michael Lavine
* [simpleR – Using R for Introductory Statistics](http://cran.r-project.org/doc/contrib/Verzani-SimpleR.pdf) by John Verzani
* [The Undergraduate Guide to R](https://sites.google.com/site/undergraduateguidetor/manual-files) ([PDF](https://sites.google.com/site/undergraduateguidetor/manual-files)) by Trevor Martin
* [R for SAS and SPSS Users](http://r4stats.com/books/r4sas-spss/) ([PDF](https://science.nature.nps.gov/im/datamgmt/statistics/r/documents/r_for_sas_spss_users.pdf)) by Bob Muenchen (early draft only)
* [Learning Statistics with R](http://health.adelaide.edu.au/psychology/ccs/teaching/lsr/) ([PDF](http://health.adelaide.edu.au/psychology/ccs/docs/lsr/lsr-0.5.pdf)) by Dan Navarro
* [An introduction to psychometric theory with applications in R](http://www.personality-project.org/r/book/) by William Revelle
* [Using R for psychological research: A simple guide to an elegant language](http://personality-project.org/r/r.guide.html) by William Revelle ([Shorter version](http://personality-project.org/r/r.short.html))
* [Rabbit: Introduction to R](http://www.quantide.com/R/r-training/r-web-books/rabbit-introduction-to-r/) by Nicola Sturaro
* [Advanced R](http://adv-r.had.co.nz/) by Hadley Wickham
* [R Packages](http://r-pkgs.had.co.nz/) by Hadley Wickham
* [Introduction to Statistical Thinking (With R, Without Calculus)](http://pluto.huji.ac.il/~msby/StatThink/index.html) ([PDF](http://pluto.huji.ac.il/~msby/StatThink/IntroStat.pdf)) by Benjamin Yakir
* [R Programming wikibook](http://en.wikibooks.org/wiki/R_Programming) - A collaborative textbook
* [The openair manual open-source tools for analysing air pollution data](http://www.openair-project.org/PDF/OpenAir_Manual.pdf) by [David C. Carslaw](https://github.com/davidcarslaw)
* [Introduction to the Practice of Statistics (6th edition) in R](https://www3.amherst.edu/~nhorton/ips6e/) by Nicholas Horton and Ben Baumer

### Cheatsheets & Reference Cards

* [Cheatsheets by RStudio](http://www.rstudio.com/resources/cheatsheets/)
- [Data Visualization Cheat Sheet](http://www.rstudio.com/wp-content/uploads/2015/03/ggplot2-cheatsheet.pdf) - ggplot2
- [Package Development Cheat Sheet](http://www.rstudio.com/wp-content/uploads/2015/03/devtools-cheatsheet.pdf) - devtools
- [Data Wrangling Cheat Sheet](http://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf) ([中文版](http://www.rstudio.com/wp-content/uploads/2015/03/data-wrangling-chinese.pdf))- dplyr & tidyr
- [R Markdown Cheat Sheet](http://www.rstudio.com/wp-content/uploads/2015/02/rmarkdown-cheatsheet.pdf) ([中文版](http://www.rstudio.com/wp-content/uploads/2015/03/rmarkdown-chinese.pdf))
- [R Markdown Reference Guide](http://www.rstudio.com/wp-content/uploads/2015/03/rmarkdown-reference.pdf)
- [Shiny Cheat Sheet](http://shiny.rstudio.com/images/shiny-cheatsheet.pdf) ([中文版](http://www.rstudio.com/wp-content/uploads/2015/03/shiny-chinese.pdf))
* [R Functions For Regression Analysis](http://cran.r-project.org/doc/contrib/Ricci-refcard-regression.pdf) by Vito Ricci
* [R Reference Card 2.0](http://cran.r-project.org/doc/contrib/Baggott-refcard-v2.pdf) by Matt Baggott
* [R Reference Card for Data Mining](http://cran.r-project.org/doc/contrib/YanchangZhao-refcard-data-mining.pdf) by Yanchang Zhao
* [R Reference Card Introductory Statistics](http://www.u.arizona.edu/~kuchi/Courses/MAT167/Files/R-refcard.pdf) by Anthony Tanbakuchi

#### Interactive R learning

* [Try R](http://tryr.codeschool.com/) - A free interactive web-based R tutorial
* [Swirl][44] - R-package to learn R interactively

### MOOCs and Online Courses

* [R & Data Science on DataCamp](https://www.datacamp.com/courses)
* [Introduction to Data Science with R](http://shop.oreilly.com/product/0636920034834.do) - How to Manipulate, Visualize, and Model Data with the R Language by Garrett Grolemund
* [Coursera][45] - Learn how to use R for effective data analysis
* [edX][47] - Basic Statistics and R (basic course, not just for life sciences)
* [RPubs][43] - Easy web publishing from R

### College-level Courses Using R

* [Application of Epidemologic Resarch Methods II (P9489)](http://www.columbia.edu/~cjd11/charles_dimaggio/DIRE/styled-4/styled-6/) by Charles DiMaggio
* Courses taught by [Ross Ihaka](https://www.stat.auckland.ac.nz/~ihaka/), one of the creators of R, at University of Auckland
- [Statistics 782 - Statistical Computing (graduate)](https://www.stat.auckland.ac.nz/~stat782/)
- [Statistics 787 - Statistical Graphics (Graduate)](http://www.stat.auckland.ac.nz/~ihaka/courses/787)
- [Statistics 726 - Time Series Analysis (Graduate)](http://www.stat.auckland.ac.nz/~ihaka/courses/726)
- [Statistics 380 - Statistical Computing (Undergraduate)](http://www.stat.auckland.ac.nz/~stat380)
* [Psychology 405: Psychometric Theory](http://personality-project.org/revelle/syllabi/405.syllabus.html) by William Revelle at Northwestern University

### R-related Presentations and Talks

* [Managing large datasets in R – ff examples and concepts](http://www.slideshare.net/ajayohri/bitff21-2-wuvienna2010) by Jens Oehlschlãgel

### Programming chrestomathy (problems written in many languages)

* [Rosetta Code](http://rosettacode.org/wiki/Category:R)
* [Learn X in Y minutes](http://learnxinyminutes.com/docs/r/) ([中文版](http://learnxinyminutes.com/docs/zh-cn/r-cn/))
* [Hyperpolyglot](http://hyperpolyglot.org/numerical-analysis) (R/MATLAB/Python)
* [Project Euler](https://projecteuler.net/) - Try solving mathematical problems using R

### Other free resource materials

* The [Journal of Statistical Software](http://www.jstatsoft.org/) has many papers about R packages
* The [knitr](http://yihui.name/knitr) site by Yihui Xie has resources on reproducible research using that package
* [R by example](http://www.mayin.org/ajayshah/KB/R/) by Ajay Shah
* [R language for programmers](http://www.johndcook.com/blog/r_language_for_programmers/) by John D. Cook
* [Hands on dplyr tutorial](http://rpubs.com/justmarkham/dplyr-tutorial) for faster data manipulation in R by Kevin Markham
* [R Examples Repository](http://www.uni-kiel.de/psychologie/rexrepos/index.html) by [Daniel Wollschlaeger](http://www.dwoll.de/)

### Video Tutorials

* [Hands-on dplyr tutorial for faster data manipulation in R](https://www.youtube.com/watch?v=jWjqLW-u3hc)
* [Going deeper with dplyr: New features in 0.3 and 0.4](https://www.youtube.com/watch?v=2mh1PqfsXVI)
* [LISA Short courses](http://www.lisa.stat.vt.edu/?q=past_courses) at VirginiaTech

## Stack Overflow resources

* [How to make a great R reproducible example](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example)
* [What is the most useful R trick?](http://stackoverflow.com/questions/1295955/what-is-the-most-useful-r-trick)
* [How to get help in R?](http://stackoverflow.com/questions/15289995/how-to-get-help-in-r)
* [r-faq](http://stackoverflow.com/questions/tagged/r-faq) - Tag for frequently asked R questions on StackOverflow

## Code style guides
* [R internal coding standards](http://cran.r-project.org/doc/manuals/R-ints.html#R-coding-standards)
* [Bioconductor coding standards](http://master.bioconductor.org/developers/how-to/coding-style/)
* [Google's R Style Guide](http://google-styleguide.googlecode.com/svn/trunk/Rguide.xml)
* Hadley Wickham’s [standard](http://adv-r.had.co.nz/Style.html) and [Stat 405](http://stat405.had.co.nz/r-style.html)
* Henrik Bengtsson’s [R Coding Coventions](https://docs.google.com/document/d/1esDVxyWvH8AsX-VJa-8oqWaHLs4stGlIbk8kLc5VlII/preview) and [Aroma RCC](https://docs.google.com/document/d/1i87u372dW_v6U2W3wa-emng0OOyV8pBI83po1RWET6M/edit)
* [Paul E Johnson’s](http://cran.r-project.org/web/packages/rockchalk/vignettes/Rstyle.pdf)

## Other Resources

Recommended additional R resources include:

* [Rdocumentation](http://www.rdocumentation.org/) - Find and browse documentations for R packages
* [Cookbook for R](http://www.cookbook-r.com/) by Winston Chang - Solutions to common tasks in analyzing data.
* [Quick-R](http://www.statmethods.net/) by Rob Kabacoff, author of [R in Action](http://www.manning.com/kabacoff2/) - Accessing the power of R. Maintained
* [R for cats and cat lovers](http://rforcats.net/) - An intro to R for new programmers.
* [R-bloggers](http://www.r-bloggers.com/) - R blog aggregator.
* [Inside-R](http://www.inside-r.org/r-doc) and the [R Graphical Manual](http://rgm3.lab.nig.ac.jp/RGM/R_image_list?page=416&init=true) - Enhanced versions of CRAN's R Reference Index.
* [R Tutorials](http://ww2.coastal.edu/kingw/statistics/R-tutorials/) by William B. King
* [R Tips](http://pj.freefaculty.org/R/Rtips.html) by Paul E. Johnson
* [Statistics with R](http://zoonek2.free.fr/UNIX/48_R/all.html) by Vincent Zoonekynd
* [R Tutorial](http://www.cyclismo.org/tutorial/R/) by Kelly Black

## Statistical Analyses Using R

* [Data Analysis Examples by UCLA](http://www.ats.ucla.edu/stat/dae/)

## R Packages

### Syntax
*Packages change the way you use R.*

* [magrittr](https://github.com/smbache/magrittr) - Let's pipe it.
* [pipeR](https://github.com/renkun-ken/pipeR) - Multi-paradigm Pipeline Implementation.
* [lambda.r](https://github.com/zatonovo/lambda.r) - Functional programming and simple pattern matching in R.

### Data Manipulation
*Packages for cooking data.*

* [dplyr](https://github.com/hadley/dplyr) - Blazing fast data frames manipulation and database query.
* [data.table](https://github.com/Rdatatable/data.table) - Fast data manipulation in a short and flexible syntax.
* [reshape2](https://github.com/hadley/reshape) - Flexible rearrange, reshape and aggregate data.
* [tidyr](https://github.com/hadley/tidyr) - Easily tidy data with spread and gather functions.
* [broom](https://github.com/dgrtwo/broom) - Convert statistical analysis objects into tidy data frames.
* [rlist](https://github.com/renkun-ken/rlist) - A toolbox for non-tabular data manipulation with lists.

### Graphic Displays
*Packages for showing data.*

* [ggplot2](https://github.com/hadley/ggplot2) - An implementation of the Grammar of Graphics.
* [ggvis](https://github.com/rstudio/ggvis) - Interactive grammar of graphics for R.
* [rCharts](https://github.com/ramnathv/rCharts) - Interactive JS Charts from R.
* [lattice](http://lattice.r-forge.r-project.org/) - A powerful and elegant high-level data visualization system.
* [Cairo](http://cran.r-project.org/web/packages/Cairo/index.html) - R graphics device using cairo graphics library for creating high-quality display output.
* [extrafont](https://github.com/wch/extrafont) - Tools for using fonts in R graphics.
* [showtext](https://github.com/yixuan/showtext) - Enable R graphics device to show text using system fonts.
* [dygraphs](https://github.com/rstudio/dygraphs) - Charting time-series data in R.

### Reproducible Research
*Packages for literate programming.*

* [knitr](http://yihui.name/knitr/) - Easy dynamic report generation in R.
* [xtable](http://cran.r-project.org/web/packages/xtable/index.html) - Export tables to LaTeX or HTML.
* [sjPlot](http://cran.r-project.org/package=sjPlot) - Data visualization for statistics in social science
* [rapport](http://rapport-package.info/#intro) - An R templating system.
* [rmarkdown](http://rmarkdown.rstudio.com/) - Dynamic documents for R.
* [slidify](https://github.com/ramnathv/slidify) - Generate reproducible html5 slides from R markdown.

### R Development
*Packages for packages.*

* [devtools](https://github.com/hadley/devtools) - Tools to make an R developer's life easier.
* [testthat](https://github.com/hadley/testthat) - An R package to make testing fun.
* [R6](https://github.com/wch/R6) - Simpler, faster, lighter-weight alternative to R's built-in classes.
* [pryr](https://github.com/hadley/pryr) - Make it easier to understand what's going on in R.
* [roxygen](https://github.com/klutometis/roxygen) - Describe your functions in comments next to their definitions.
* [lineprof](https://github.com/hadley/lineprof) - Visualise line profiling results in R.
* [packrat](https://github.com/rstudio/packrat) - Make your R projects more isolated, portable, and reproducible.
* [installr](https://github.com/talgalili/installr/) - Functions for installing softwares from within R.
* [Rocker](https://github.com/rocker-org) - R configurations for Docker.

### Misc

* [MVN: Multivariate Normality Tests](http://cran.r-project.org/web/packages/MVN/index.html) ([Paper](http://journal.r-project.org/archive/2014-2/korkmaz-goksuluk-zararsiz.pdf))

### Hadleyverse

* lubridate
* stringr
* tidyr
* dplyr
* ggplot2
* ggvis
* devtools
* roxygen2
* testthat

## Credits

- Introduction of [R Programming Language](http://stackoverflow.com/tags/r/info) on StackOverview by [David Locke](http://stackoverflow.com/users/1447/david-locke)
- [awesome-R](https://github.com/qinwf/awesome-R) by [Qin Wenfeng](https://github.com/qinwf)