Write a R program to create an array using four given columns,three given rows,and two given tables and display the content of the array
- برمجة R
- 2021-09-04
- adonis77j
الأجوبة
array1 = array(1:30, dim=c(3,5,2))
print(array1)
Sample Output:
, , 1
[,1] [,2] [,3] [,4] [,5]
[1,] 1 4 7 10 13
[2,] 2 5 8 11 14
[3,] 3 6 9 12 15
, , 2
[,1] [,2] [,3] [,4] [,5]
[1,] 16 19 22 25 28
[2,] 17 20 23 26 29
[3,] 18 21 24 27 30أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال
معلومات ذات صلة