Skip to content
Prev 30257 / 398506 Next

Odd and Even

Or if you are very lazy there is is.odd() and is.even() in library sma.

-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de] 
Sent: Sunday, April 06, 2003 8:36 PM
To: Dave Caccace
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Odd and Even
Dave Caccace wrote:
if(p %% 2) "odd" else "even"

Uwe Ligges

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help