FW: [R] modulus operator?
Marsland, John
John.Marsland at CommerzbankIB.com
Mon May 19 18:16:16 CEST 2003
try "%%" as the modulus operator and "%/%" for integer division
eg 5%%2 equals 1
John Marsland
> > -----Original Message-----
> > From: Anna H. Pryor [mailto:anna at ptolemy.arc.nasa.gov]
> > Sent: 19 May 2003 16:56
> > To: R Help
> > Subject: [R] modulus operator?
> >
> >
> >
> > Is there a modulus operator in R?
> >
> > Anna
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >
>
**********************************************************************
This is a commercial communication from Commerzbank AG.\ \ This ... {{dropped}}
More information about the R-help
mailing list