# NOT RUN {
## Use threefry engine
rxpois(lambda=3, n=10) # with rxpois you have to explicitly state n
rxpois(lambda=3, n=10, ncores=2) # You can parallelize the simulation using openMP
rxpois(4) ## The first arguments are the lambda parameter
## This example uses `rxpois` directly in the model
rx <- RxODE({
a = rxpois(3)
})
et <- et(1,id=1:2)
s <- rxSolve(rx,et)
# }
Run the code above in your browser using DataLab