Exercise: Use the sample() function
sample() function takes a vector and returns a random sample from it. The first two of its parameters are:
x, which defines the vector
size, which defines the number of elements we want to include in the random sample
sample() function and sample 5 random values from the
Submit code to see output here.