[BioC] random number->random integer

D.Enrique ESCOBAR ESPINOZA escobarebio at yahoo.com
Wed Nov 29 23:45:10 CET 2006


Hi
I want to generate a random integer from 1 to 654,
is there any function that can provide a random real between 0&1
[0,1]
that I can multiply by 654 and perform the ceiling() or floor() to
get an integer from that?

Thanks



More information about the Bioconductor mailing list