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