[R] identifying odd or even number

Charles C. Berry cberry at tajo.ucsd.edu
Thu Jul 1 19:05:32 CEST 2010


On Thu, 1 Jul 2010, Yemi Oyeyemi wrote:

> Hi, I run into problem when writing a syntax, I don't know syntax that 
> will return true or false if an integer is odd or even. Thanks

See

 	?"%%"
 	example("%%")
 	?"=="
HTH,

Chuck


>
> OYEYEMI, Gafar Matanmi
[snip]

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



More information about the R-help mailing list