Answers for "remove rows from matrix r"

R
2

remove rownumbers r

rownames(data) <- c()
Posted by: Guest on March-13-2020
0

del row matrix r

> x <- matrix(1:9, nrow = 3, dimnames = list(c("X","Y","Z"), c("A","B","C")))
> x
A B C
X 1 4 7
Y 2 5 8
Z 3 6 9
Posted by: Guest on November-25-2020

Browse Popular Code Answers by Language