search for: truefalseindex

Displaying 1 result from an estimated 1 matches for "truefalseindex".

2011 Sep 30
2
remove elements from matrix
Dear all, I have a numeric vector that contains indices. I also have two matrices of [1,m] dimension and of [m,n] dimension. I want for every indexto remove the current element from the [1,m] vector an the row from the [m,n] matrix. How I can do that efficiently in R? So to say not have a for loop getting parameter after parameter and then removing row by row from the vector and the matrix. I