Displaying 1 result from an estimated 1 matches for "n4484027".
Did you mean:
444027
2012 Mar 19
5
Output formatting in Latex and R
I am working on Latex and R and using following code.
<<echo=FALSE>>=
infile<-read.table("test.txt",sep="\t")
Col3 <- unique(infile[,3])
LCol3 <- length(Col3)
for (i in 1:LCol3) {
print(paste("Column", Col3[i]))
print(infile[infile[,3]==Col3[i],-3])
}
@
I am getting following output.
1] "Column C" V1 V2 V4 1 A B D 2 X T K [1]