search for: 28problem

Displaying 1 result from an estimated 1 matches for "28problem".

Did you mean: 20problem
2009 Mar 04
1
nice way to find or not a value (problem with numeric(0))
...rks but I'm sure there is a more elegant way. if (code %in%spec$Code) m<-spec$data1[spec$Code==code] else m<-1 Is there a way to avoid an if-test ? Thanks for your help, Have a good day, Ptit Bleu. -- View this message in context: http://www.nabble.com/nice-way-to-find-or-not-a-value-%28problem-with-numeric%280%29%29-tp22325406p22325406.html Sent from the R help mailing list archive at Nabble.com.