To delete a row or column from a matrix based on the row or column name in R, you can use the following approach:
175 chars7 lines
178 chars7 lines
In the above code snippets, we are deleting a row with the name "B" and a column with the name "Y" from the sample matrix mat
.
gistlibby LogSnag