rng_stream_rztpois {nhppp}R Documentation

Zero-truncated Poisson random samples from rstream objects

Description

Sample from rstream objects

Usage

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

Arguments

size

Integer, number of samples

lambda

Positive number, the mean of the original (untruncated) Poisson distribution

rng_stream

(rstream) an rstream object or NULL

Value

a vector of non zero counts of size size

Examples

rng_stream_rztpois(10)

[Package nhppp version 0.1.4 Index]