# Seamless 'Nonmem' Simulation Platform

## Documentation for package ‘NMsim’ version 0.2.1

- DESCRIPTION file.
- Package NEWS.

## Help Pages

add | Create function that adds text elements to vector
addEVID2 | Add simulation (sample) records to dosing records (see 'NMaddSamples()')
addResVar | Add residual variability based on parameter estimates
cbind.NMsimModTab | Remove NMsimModTab class and discard NMsimModTab meta data
cbind.NMsimRes | Remove NMsimRes class and discard NMsimRes meta data
dimnames.NMsimModTab | Remove NMsimModTab class and discard NMsimModTab meta data
dimnames.NMsimRes | Remove NMsimRes class and discard NMsimRes meta data
expandCovs | Create data set where each covariate is univariately varied (see 'forestDefineCovs()')
forestDefineCovs | Create data set where each covariate is univariately varied
forestSummarize | Summarize simulated exposures relative to reference subject
genPhiFile | Generate a .phi file for further simulation with Nonmem
inputArchiveDefault | Default location of input archive file
is.NMsimModTab | Remove NMsimModTab class and discard NMsimModTab meta data
is.NMsimRes | Remove NMsimRes class and discard NMsimRes meta data
merge.NMsimModTab | Remove NMsimModTab class and discard NMsimModTab meta data
merge.NMsimRes | Remove NMsimRes class and discard NMsimRes meta data
NMaddSamples | Add simulation (sample) records to dosing records
NMcreateDoses | Easily and flexibly generate dosing records
NMexec | Execute Nonmem and archive input data with model files
NMreadSim | Read simulation results based on NMsim's track of model runs
NMsim | Simulate from an estimated Nonmem model
NMsimModTabOperations | Remove NMsimModTab class and discard NMsimModTab meta data
NMsimResOperations | Remove NMsimRes class and discard NMsimRes meta data
NMsimTestConf | Summarize and test NMsim configuration
NMsim_asis | Simulation method that uses the provided control stream as is
NMsim_default | Transform an estimated Nonmem model into a simulation control stream
NMsim_EBE | Use emperical Bayes estimates to simulate re-using ETAs
NMsim_NWPRI | Simulate with parameter variability using the NONMEM NWPRI subroutine
NMsim_typical | Typical subject simiulation method
NMsim_VarCov | Simulate with parameter values sampled from a covariance step
NMupdateSizes | Create or update $SIZES in a control stream
overwrite | Create function that modifies text elements in a vector
rbind.NMsimModTab | Remove NMsimModTab class and discard NMsimModTab meta data
rbind.NMsimRes | Remove NMsimRes class and discard NMsimRes meta data
readParsWide | Parameter data from csv
samplePars | Sample model parameters using 'mvrnorm' or the 'simpar' package
sampleParsSimpar | Sample model parameters using the 'simpar' package
simPopEtas | Generate a population based on a Nonmem model
summarizeCovs | Summarize simulated exposures relative to reference subject (see 'forestSummarize()')
t.NMsimModTab | Remove NMsimModTab class and discard NMsimModTab meta data
t.NMsimRes | Remove NMsimRes class and discard NMsimRes meta data
unNMsimModTab | Remove NMsimModTab class and discard NMsimModTab meta data
unNMsimRes | Remove NMsimRes class and discard NMsimRes meta data