More answering questions with data: specifically final exam scores from when I taught intro stats at Reed College.
Mon Nov 16, 2016
More answering questions with data: specifically final exam scores from when I taught intro stats at Reed College.
A computer can't generate pure random numbers, but pseudorandom results:
library(mosaic)
basket <- c("apple", "orange", "mango", "pear")
# Seed is set automatically by computer
shuffle(basket)
# Set seed
set.seed(76)
shuffle(basket)
# Set seed to same value to get replicable pseudorandom results.
set.seed(76)
shuffle(basket)
My favorite seed value is 76.