With a couple of your neighbors, try to get R to do the following
- Print out each of your names 150 times.
- Make a vector that has each of your names in it 150 times
- Use the
unique() command to verify that only your names are in there.
- What does
nchar(unique(YOUR_NAME_LIST)) do?
Now try these out
- Make a bell curve by using the
rnorm() and hist() functions.
- What does the mean look like from the graph?
- Now make a bell curve with a mean of 60.