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