search for: uniq10

Displaying 1 result from an estimated 1 matches for "uniq10".

Did you mean: uniq
2017 Jun 12
2
Keep only those values in a row in a data frame which occur only once.
Dear All, I have a file data.txt as follows: Name_1,A,B,C Name_2,E,F Name_3,I,J,I,K,L,M I will read this with: my_data<- read.csv("data.txt",header=FALSE,col.names=paste0("V", seq(1:10)),fill=TRUE) Then the file will have 10 columns. I am assuming that each row in data.txt will have at the max 10 entries. Note: Here each row will have a different number of columns in