rng_stream_rexp {nhppp}R Documentation

Exponential random samples from rstream objects

Description

Sample from rstream objects

Usage

rng_stream_rexp(size = 1, rate = 1, rng_stream = NULL)

Arguments

size

Integer, number of samples

rate

Positive number, the rate (i.e., 1/mean)

rng_stream

(rstream) an rstream object or NULL

Value

a vector of exponential variates of size size

Examples

rng_stream_rexp(10)

[Package nhppp version 0.1.4 Index]