This is a supplementary website of SOC 380 (Elements of Statistics and Data Analysis) to provide a convenient reference of R usage to students. Let me know if you find any errors or broken links.
Topics
- Introduction: How to install R; R as a calculator; Data input
- Descriptive Stats: Mean; Median; Mode; Variance; St.Dev.; 5 number summary; Boxplot
- Basic Graphs: Histogram; Bargraph; Pie Chart
- Normal Distribution
- Correlation and Scatterplot
- Regression
- Probability
- t-test: One sample
- t-test: Two independent samples
- t-test: A paired sample
- Table
- Chi-square test
Tips
- Graph: Save your graph as a picture file
- Read A Data File: Read a data file into R
- Save A Data File: Save a data file in R
- Conditonal Statistics & Subsetting Data
Useful References
- Quick R
- Producing Simple Graphs with R
- Using R in Statistics (College of the Redwoods)
- An R and S Plus Companion to Applied Regression
- simpleR: Using R for Introductory Statistics [pdf]
- An Introduction to R [pdf]
- R Reference Card [pdf]
* Note: In constructing this supplementary Using R website, I've borrowed many ideas from websites: this, this, and this, and books: this and this.