random 0.1.0

random is a non-determinisitic random number for GNU R.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
2.8/5 13
DEVELOPED BY:
Dirk Eddelbuettel
HOMEPAGE:
dirk.eddelbuettel.com
CATEGORY:
ROOT \ Utilities
random is a non-determinisitic random number for GNU R.

random provides GNU R with easy access to the true random numbers provided by random.org created by Mads Haahr. random is portable and does not depend on any hardware- or operating system-specific features to supply true (i.e. physical) randomness.

The package provides three simple functions:

randomNumbers supplies random numbers, potentially with replications, over an interval--like rolling a die (with more than six sides) multiple times;
randomSequence supplies a reshuffled sequence given a lower and upper bound for the sequence;
randomBytes supplies raw bits in binary, octal, decimal or hexadecimal format.

Moreover, a utility function randomBufferStatus queries the server about the percentage to which the supply is `filled'. The function sufficientBits simply checks whether this percentage value is below or above the recommended cut-off threshold of 20%.

Installation

The easiest way is probably to simply say install.package("random") from inside GNU R. Alternative, R CMD INSTALL random_*.tar.gz will install from command prompt.

Last updated on May 27th, 2008

#random number #reshuffled sequence #raw bits #GNU R #random #number #octal

Add your review!

SUBMIT