readRandom: read random numbers

View source: R/functions.R

readRandomR Documentation

read random numbers

Description

Read random numbers from sytems random devices

Usage

readRandom(n, a, b, dev = "/dev/urandom")

Arguments

n

number of random numbers to read

a

start of range

b

end of range

dev

device file location

Details

Based on stackoverflow question http://stackoverflow.com/questions/11505039

Value

numeric vector of leng n with numbers between a and b

Author(s)

Spacedman


floatofmath/bt88.03.704 documentation built on March 25, 2022, 12:28 p.m.