Introduction to Statistics (MAT/SST 115.03 2008S)

R notes for Activity 8-2: Game Show Prizes


You can use the following command to make the vector of deal amounts.

DealAmounts = c(0.01, 1, 5, 10, 25, 50, 75, 100, 200, 300, 400, 500, 750,
  1000, 5000, 10000, 25000, 50000, 75000, 100000, 200000, 300000,
  400000, 500000, 750000, 1000000)

You can use mean to compute the mean of a vector and median to compute the median of a vector.

Creative Commons License

Samuel A. Rebelsky, rebelsky@grinnell.edu

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 http://creativecommons.org/licenses/by-nc/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.