Posts by Ismael • 23 points
1 post
-
2
votes2
answers87
viewsQ: Create a matrix without repeating the values of the date argument
Hello, I have the following code M <- matrix(data = c(1,2,3,4,5), nrow = 5, ncol = 5, T) It produces the following output: [,1] [,2] [,3] [,4] [,5] [1,] 1 2 3 4 5 [2,] 1 2 3 4 5 [3,] 1 2 3 4 5…