Lab2: Univariate Statistics


Getting Started with R

Click on the R icon

If no R icon, go to Start and then All Programs to find R

To quit R:

> q()

What does it ask you? What does this mean?

For R HELP, for example to get help about the function runif ,

> help(runif)

For R HELP in html format

If you go to Help on the R toolbar and select R language (html), you will get the html version of help.


Example 1: Case Study I

Let's look at: 11. Case Study I

There is a t.test function in R!


Example 2: Case Study II

Let's look at: 12. Case Study II


More Examples

You can look at: 7. Confidence Intervals

Also, 8-10 are interesting.