Displaying 1 result from an estimated 1 matches for "z189".
Did you mean:
189
2006 Nov 07
1
subsetting a matrix and filling other
Hi,
Having a matrix F(189,6575) I want to do this:
z1<-subset(F[,1], F[,1] >= 5 & F[,1] <= 10)
.
.
.
z189<-subset(F[,189], F[,189] >= 5 & F[,189] <= 10)
I would prefer to have an empty matrix, say 'z' in order to fill its
columns with the output of subsetting F. But each of the subsets can
differ in length. It's to say:
length(z1)
1189
length(z2)
1238
Don't know how t...