Getting Started with R for StatisticsThis is a featured page

A Tutorial by Rick Wash and Matt Bietz

presented on 2007-02-12

this page contains information about a tutorial on getting started with R for doing statistics. if you're like me, you tried out R (briefly) and were immediately frustrated when you couldn't even figure out how to get your data into the software, and none of the documentation online was any help whatsoever. so, we decided to put together this tutorial to provide enough information for people who are interested in a little help with getting past the initial learning curve.

the tutorial covered topics like:

- What is R? What can and can't it do? Why would you want/not want to use it?
- Getting your data into R (read.csv, read.table)
- Getting help and finding the function you need
- Descriptive stats (mean, sd, fivenum)
- Basic testing: t.test, wilcox.test, etc.
- Anova (including within-subjects variables)
- OLS regression
- Plots (plot, boxplot, hist)
- Making plots pretty. barplots, error bars
- script management (why external text editors are your friend)
- Customization: finding and loading packages,

R can be downloaded for any operating system, from http://www.r-project.org/. The materials used in the tutorial are attached to this page.

Some Useful Web Pages

Archives for the R-SIG-Mac email list
Kickstarting R -- help getting past the steep R learning curve
R Class Notes -- more tips on getting started with R from UCLA



ejrader
ejrader
Latest page update: made by ejrader , Feb 19 2007, 10:43 PM EST (about this update About This Update ejrader Edited by ejrader

34 words added

view changes

- complete history)
Keyword tags: None
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.
Word Document r_tutorial_handout.doc (Word Document - 60k)
posted by ejrader   Feb 19 2007, 12:49 AM EST
handout from the R tutorial
Unknown File R-tutorial.Rhistory (Unknown File - 3k)
posted by ejrader   Feb 19 2007, 12:48 AM EST
R history file containing the commands demonstrated during the tutorial
Compressed Archive gss.txt.zip (Compressed Archive - 179k)
posted by ejrader   Feb 19 2007, 12:47 AM EST
data used in the R tutorial, from the General Social Survey
Text File gss_codebook.txt (Text File - 24k)
posted by ejrader   Feb 19 2007, 12:44 AM EST
codebook for the data used in the R tutorial