[R] modulus operator?

Wolski wolski at molgen.mpg.de
Mon May 19 18:07:20 CEST 2003


I havent found any.
I am using this.

mod<-function(x,m)
  {
    t1<-floor(x/m)
    return(x-t1*m)
  }

Eryk

*********** REPLY SEPARATOR  ***********

On 5/19/2003 at 8:56 AM Anna  H. Pryor wrote:

>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



Dipl. bio-chem. Eryk Witold Wolski    @    MPI-MG Dep. Vertebrate Genomics   
Ihnestrasse 73 14195 Berlin          'v'    
tel: 0049-30-84131285               /   \    
mail: wolski at molgen.mpg.de        ---W-W----




More information about the R-help mailing list