Re: [R] Antwort: RE: Missing Values in Logical Expressions

2016-04-27 Thread PIKAL Petr
Hi Georg Something was wrong with your data. Even with > res [1] Levels: Check OK > > table(res) res CheckOK 0 0 table gives me different result from yours. I can repeat your result with > res<-as.numeric(res) > table(res) < table of extent 0 > > res [1] NA NA NA NA NA N

[R] Antwort: RE: Missing Values in Logical Expressions

2016-04-27 Thread G . Maubach
Hi Petr, Hi Jim, many thanks for your help. Today I constructed a sample dataset and tested your suggestions. Everything worked OK. Then I took the code and testet on the original data. And - it worked OK this morning also. I went back to my script of Thuesday and ran it again. OK. Then I used