Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 1. Introduction to R > Working through an example

1.8. Working through an example

We’ll finish this chapter with an example that ties many of these ideas together. Here’s the task:

1.
Open the general help and look at the “Introduction to R” section.

2.
Install the vcd package (a package for visualizing categorical data that we’ll be using in chapter 11).

3.
List the functions and datasets available in this package.

4.
Load the package and read the description of the dataset Arthritis.

5.
Print out the Arthritis dataset (entering the name of an object will list it).

6.
Run the example that comes with the Arthritis dataset. Don’t worry if you don’t understand the results. It basically shows that arthritis patients receiving treatment improved much more than patients receiving a placebo.

7.
Quit.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint