[R] Odd and Even

"Unternährer Thomas, uth" uth at zhwin.ch
Thu Apr 17 16:19:27 CEST 2003


Try this

ifelse(p%%2 == 1,"Odd","Even")


Thomas Unternährer                              
E-Mail:  thomas.unternaehrer at zhwin.ch

Content Security by MailMarshal



More information about the R-help mailing list