Data structures. In this question you will practice working with vectors, matrices and dataframes.
2.1. Create a vector x of 20 integers randomly drawn from all integers between 1 and 100.
• Run the command set.seed (1000) before creating x to ensure consistent perfor- mance of random number generator.
. Check the help for function sample() to see how to do it.

Q&A Education