Question: i need help 1 Now, look at the documentation for the matrix function and see if you can figure out how to create 1 a
1 Now, look at the documentation for the matrix function and see if you can figure out how to create 1 a matrix containing the same numbers (120) and dimensions ( 4 rows, 5 columns) by calling the 1 matrixO function. Store the result in a variable called my_matrix2. > matrix function (data = NA, nrow =1, ncol =1, byrow = FALSE, dimnames = NULL ) \{ if (is,object(data) II !is.atomic(data)) data I You're close...I can feel it! Try it again. Or, type info() for more options. I Call the matrixO) function with three arguments -- 1:20, the number of rows, and the number of I columns. Be sure to specify arguments by their proper names and store the result in my_matrix2 (not I in my_matrix)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
