createCppRNG: Create CppRNG Object

View source: R/model.R

createCppRNGR Documentation

Create CppRNG Object

Description

Create an R class that wraps a C++ random number generator

Usage

createCppRNG(random_seed = -1)

Arguments

random_seed

(Optional) random seed for sampling

Value

CppRng object

Examples

rng <- createCppRNG(1234)
rng <- createCppRNG()

stochtree documentation built on April 29, 2026, 1:08 a.m.