Open Dstix opened 1 year ago
Yep, almost a minute and a half compared to 0.1 seconds should be improved. I think that this is an issue in the rxode2et
package. (We have a spread-out package structure due to some CRAN requirements.) I'm about to move the issue there. I don't have an immediate solution, but hopefully we can figure something out.
When simulating n_subj = 1000 subjects for a weight-based dosing set, the following code was used:
The length of time it takes to use
add.sampling
seems to increase disproportionately withn_subj
:When I use the following code, it processes much quicker:
It seems like add.sampling shouldn't take this long.