I am trying to create a matrix of 35 rows and 15 columns with numbers from 1 to 4 sampled randomly in R.
Can you please help me create it just using the matrix and sample