R/sample_omega.R
sample_omega.RdSample 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)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.
if (FALSE) { # \dontrun{
omDist <- sample_omega("run315", 5000, seed=740727)
} # }