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:cbe...@tajo.ucsd.edu               UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to