Displaying 1 result from an estimated 1 matches for "1_1_s2_8_1".
2013 Apr 06
1
Multiple subsetting of a dataframe based on many conditions
...the values in each line and re-running the code.
input<-subset(input, answer==1)
input.s2g<-subset(input, p.num == 1)
input.s2g<-subset(input.s2g, session == "S2")
input.s2g<-subset(input.s2g, count==8)
input.s2g<-subset(input.s2g, type==1)
write.table(s2g, file = "1_1_S2_8_1", sep = "\t", col.names = F, row.names = F)
But this takes me hours and is obviously prone to error. There must be an easier way?
Thanks for any help!
[[alternative HTML version deleted]]