simpleRand: A simple interface to C level random number generation.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/simpleFuns.R

Description

A simple interface function to R's C level rng code. Primarily a pedagogical tool to accompany the monograph R for Bioinformatics.

Usage

1
simpleRand(x, y = "notused")

Arguments

x

The number of random numbers to generate.

y

Not used in the base implementation, but various exercises involve making use of this.

Details

An interface, via .Call to R's underlying RNG cod.

Value

The random numbers generated, plus information about the RNG used.

Author(s)

R. Gentleman

See Also

simpleSort, .Call

Examples

1

RBioinf documentation built on Nov. 8, 2020, 11:11 p.m.