Learn R Programming

nhppp (version 1.0.2)

rng_stream_runif: Uniform random samples from rstream objects

Description

Sample from rstream objects

Usage

rng_stream_runif(size = 1, minimum = 0, maximum = 1, rng_stream = NULL)

Value

a vector of uniform variates of size size

Arguments

size

Integer, number of samples

minimum

Lower bound

maximum

Upper bound

rng_stream

(rstream) an rstream object or NULL

Examples

Run this code
rng_stream_runif(10)

Run the code above in your browser using DataLab