Introduction to Statistics (MAT/SST 115.03 2008S)

R notes for Activity 8-4: Rowers' Weights

The data are now stored in Rowers04.csv. You can read them in as follows:

Rowers = read.csv("/home/rebelsky/Stats115/Data/Rowers04.csv")

Refer to the instructions from a previous activity to see how to make dotplots and how to have R compute a mean and median. In each case, you want to use the vector Rowers$Weight.

This activity asks you to remove one row (corresponding to Cipollone, the coxswain) and, later, to change the weight of Schroeder. It turns out that you need different tools for the two activities. To delete rows, you use the row selection commands. For example,

Rowers = Rowers[Rowers$Name != "Cipollone",]

To change weight use the fix command.


Remember that R pauses while you're editing the data set, so you must close the editing window before doing anything else.

Creative Commons License

Samuel A. Rebelsky,

Copyright (c) 2007-8 Samuel A. Rebelsky.

This work is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. To view a copy of this license, visit or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.