Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
thismatrix <- matrix(c("apple", "banana", "cherry", "orange"), nrow = 2, ncol = 2) for (rows in 1:nrow(thismatrix)) { for (columns in 1:ncol(thismatrix)) { print(thismatrix[rows, columns]) } }
[1] "apple"
[1] "cherry"
[1] "banana"
[1] "orange"