After today’s session you will be able to:
read.csv
function
sample
function to randomize student order
sample
has three main arguments:
x
= vector to randomizesize
= number of times to randomly samplereplace
= whether vector elements can be retrieved more than once
x
= vector of student namessize
= number of studentsreplace
= FALSE
(don’t want to double pick the same student)sample
we’ll claim one function each per round:
?function_name