rng_stream_rpois {nhppp}R Documentation

Poisson random samples from rstream objects

Description

Sample from rstream objects

Usage

rng_stream_rpois(size = 1, lambda = 1, rng_stream = NULL)

Arguments

size

Integer, number of samples

lambda

Positive number, the mean

rng_stream

(rstream) an rstream object or NULL

Value

a vector of counts of size size

Examples

rng_stream_rpois(10)

[Package nhppp version 0.1.3 Index]