Displaying 2 results from an estimated 2 matches for "lcol3".
Did you mean:
col3
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] "Column Z" V1 V2 V4 3 Z U M 4 E V
R 5 Z U M [1] "Column P" V1 V2 V4...
2012 Mar 16
5
How to Group Categorical data in R?
Hi,
I am newbie to R and working on result presentation? My Input table is in
following format
A B C D
X T C K
Z U Z M
E V Z R
Z U Z M
E V P R
I need to present my result in the