Displaying 1 result from an estimated 1 matches for "zeilemax".
Did you mean:
filemax
2005 Jul 27
2
How to delete rows
...2
NA 15
NA 15
NA 15
cd 3
ef 1
NA 15
NA 15
gh 15
gh 15
I want to delete all the rows which begin with "NA"
and all the rows where names are duplicates
(for example the second row).
I have tried this, but I only get numbers:
for (i in 1:ZeileMax ) {if ( TAB1[[1]] [i] != "NA" )
{cat(TAB1[[1]][i],file = "Name.txt",fill= TRUE,append = TRUE ,sep =
"");cat(TAB1[[2]][i], file="Number.txt", fill=TRUE,append=TRUE, sep="")}}
Name<-readLines("Name.txt")
Number<-readLines("Numb...