运行 ❯
获得您的
自己的
网站
×
更改方向
更改主题,深色/浅色
转到 Spaces
thismatrix <- matrix(c("apple", "banana", "cherry", "orange", "mango", "pineapple"), nrow = 3, ncol = 2) #Remove the first row and the first column thismatrix <- thismatrix[-c(1), -c(1)] print(thismatrix)
[1] "mango" "pineapple"