Creating a matrix with random generated variables in R : <p>I want to create a matrix with 100 rows and 5 columns. Values for the first column are 1 or 2. Values for the second column are integers from 1 to 5. Values for the third column are integers from 10 to 50. Values for the fourth column are integers from 1 to 3. And values for the fifth column are integers from 1 to 5. How do randomly assign these generated values for each row in this matrix? Thanks,</p>
