You are on page 1of 1

Scrolling down shows the names of the data frames and functions.

Clicking on the
name of a data frame opens up a page of information about it.
Back on the Packages tab, you click the check box next to MASS to install the pack-
age. That causes this line to appear in the Console window:
> library(“MASS”, lib.loc=”C:/Program Files/R/R-3.3.1/library”)
And the MASS package is installed.
One of the data frames in MASS is named anorexia . It contains weight data for 72
young female anorexia patients. Each patient completed one of three types of
therapy. What does the data frame look like? You type this line into the Console
pane:
> edit(anorexia)
to open the Data Editor window, shown in Figure 2-10.

You might also like