sample_omega | R Documentation |
Sample from the multivariate normal distribution using the OMEGA variance-covariance matrix to generate new sets of simulated ETAs from NONMEM output.
sample_omega(nmRun, n, seed)
nmRun |
Root filename for the NONMEM run (e.g. "run315"). |
n |
Number of samples required. |
seed |
Random seed. |
A data frame containing n
samples from the multivariate normal distribution, using
the estimated NONMEM OMEGA variance-covariance matrix. This provides n
sets of ETA estimates
suitable for simulation of new patients.
Justin Wilkins, justin.wilkins@occams.com
NONMEM (https://www.iconplc.com/innovation/nonmem/)
## Not run:
omDist <- sample_omega("run315", 5000, seed=740727)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.