R: A Crash Course

With a couple of your neighbors, try to get R to do the following

  1. Print out each of your names 150 times.
  2. Make a vector that has each of your names in it 150 times
  3. Use the unique() command to verify that only your names are in there.
  4. What does nchar(unique(YOUR_NAME_LIST)) do?

Now try these out

  1. Make a bell curve by using the rnorm() and hist() functions.
  2. What does the mean look like from the graph?
  3. Now make a bell curve with a mean of 60.