R (PHC 6055)
This page contains links to useful resources for learning R.
Important Links and Documents:
- CRAN Home Page: Download R for Windows or MAC here
- R-Studio: An interface for using R that many students seem to like.
- An Introduction to R: Most Recent Version (Textbook for PHC 6055)
- Short R Reference Card: Compact and useful information about common R commands
- Dr. Cantrell’s Example Simulations:
- UCLA Statistical Computing: Excellent resources for a variety of packages, including R.
Read and refer to An Introduction to R and the R scripts provided. Watch the videos in short sessions followed immediately by working in R using similar processes until you are comfortable with what has been presented. Then move on to more videos and readings.
- A video with Tips for Watching these tutorials.
For students enrolled in PHC 6055: The assignments provided in E-learning are designed to follow the readings and scripts. These should be used as part of the process described above, working on components of assignments as you read and watch videos on the appropriate topics.
- Script #1 – R Basics (63:50 Total)
- Script #2 – Working with Data (36:51 Total)
- Script #3 – Distributions and Programming (37:18 Total)
- Script #4 – Models, Packages, and Graphics (64:42 Total)
- Simulation Example – One Population Variance (37:39 Total)
Collected Links and Documents:
The following are a variety of links and documents which have proven useful. If you have suggestions based upon sites or documents that prove useful to you, please let us know.
- R Project Home Page: A broader site associated with R. Contains links to CRAN materials plus more.
- Datasets in R: A list of datasets available in R or through specific common R packages.
- Working With Functions: A short tutorial on writing functions.
- Using R for Introductory Statistics: A manual on using R for basic statistics.
- Graphics in R: Examples of basic and advanced graphics using R.
- R-Graph-Example: An example showing the pdf, cdf, and survial function for one discrete and one continuous random variable.
- Quick R: A site containing some useful information about learning R for data analysis;
Associated with the book “R in Action.”
- R by Example: A set of examples on specific topics to illustrate common uses of R.
- A few illustrative examples in R: A short introduction to R.
- WESSA.net: This site offers R-Modules online. Viewing the underlying R-code can be useful.
- Carnegie Mellon Open Learning Statistics: This course has activities which give directions using R along with other software.
- http://notepad-plus-plus.org/download/: A programming editor which gives some SAS-style color coding to R scripts.
- https://www.programiz.com/r-programming – A tutorial site for beginning programming