Displaying 1 result from an estimated 1 matches for "overloadstest".
2011 Oct 30
3
why the a[-indx] does not work?
Dear all,
Could you please explain me why
> OverloadsTesT
[1] 1 0 1 0 0 0 0 0 0 0
> a<-matrix(data=seq(1,10),nrow=10)
> a
[,1]
[1,]    1
[2,]    2
[3,]    3
[4,]    4
[5,]    5
[6,]    6
[7,]    7
[8,]    8
[9,]    9
[10,]   10
> a[-OverloadsTesT]
[1]  2  3  4  5  6  7  8  9 10
the last line does not remove the first and third element and o...