createCppRNG | R Documentation |
Create an R class that wraps a C++ random number generator
createCppRNG(random_seed = -1)
random_seed |
(Optional) random seed for sampling |
CppRng
object
rng <- createCppRNG(1234)
rng <- createCppRNG()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.