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