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