sample_omega: Sample from the multivariate normal distribution using the OMEGA variance-covariance matrix to generate new sets of simulated ETAs from NONMEM output.
Description
Sample from the multivariate normal distribution using the OMEGA variance-covariance matrix to generate new sets of simulated ETAs from NONMEM output.
Usage
sample_omega(nmRun, n, seed)
Value
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.