The mosaic
package has the following 4 functions will give us (most of) the random simulation tools we need. We've seen
rflip()
: Flip a coinshuffle()
: Shuffle a set of valuesdo()
: Do the same thing many, many, many timesresample()
: the swiss army knife of functions
- Today we do
shuffle()
andresample()