Generate a population based on a Nonmem model
simPopEtas(file.mod, N, seed, file.phi, as.fun)
Path to input control stream
Number of subjects to generate
Optional seed. Will be passed to `set.seed`. Same thing as running `set.seed` just before calling `simPopEtas()`.
An optional phi file to write the generated subjects to.
The default is to return data as a data.frame. Pass a function (say `tibble::as_tibble`) in as.fun to convert to something else. If data.tables are wanted, use as.fun="data.table". The default can be configured using NMdataConf.