Displaying 1 result from an estimated 1 matches for "incl_r".
Did you mean:
incl_c
2007 Feb 28
2
delete selecting rows and columns
Hi,
I'm working with a big square matrix (15k x 15k) and I have some trouble.
I want to delete selecting rows and columns.
I'm using something like this:
> sel_r=c(15,34,384,985,4302,6213)
> sel_c=c(3,151,324,3384,7985,14302)
> matrix=matrix[-sel_r,-sel_c]
but it works very slow.
Does anybody know how to make it in faster way?
Thank's
--
View this message in context: