Package: NMsim 0.1.3.942

Philip Delff

NMsim: Seamless 'Nonmem' Simulation Platform

A complete and seamless 'Nonmem' simulation interface within R. Turns 'Nonmem' control streams into simulation control streams, executes them with specified simulation input data and returns the results. The simulation is performed by 'Nonmem', eliminating manual work and risks of re-implementation of models in other tools.

Authors:Philip Delff [aut, cre], Brian Reilly [ctb], Sanaya Shroff [ctb]

NMsim_0.1.3.942.tar.gz
NMsim_0.1.3.942.zip(r-4.5)NMsim_0.1.3.942.zip(r-4.4)NMsim_0.1.3.942.zip(r-4.3)
NMsim_0.1.3.942.tgz(r-4.4-any)NMsim_0.1.3.942.tgz(r-4.3-any)
NMsim_0.1.3.942.tar.gz(r-4.5-noble)NMsim_0.1.3.942.tar.gz(r-4.4-noble)
NMsim_0.1.3.942.tgz(r-4.4-emscripten)NMsim_0.1.3.942.tgz(r-4.3-emscripten)
NMsim.pdf |NMsim.html
NMsim/json (API)
NEWS

# Install 'NMsim' in R:
install.packages('NMsim', repos = c('https://nmautoverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/nmautoverse/nmsim/issues

On CRAN:

5.71 score 8 stars 24 scripts 363 downloads 26 exports 10 dependencies

Last updated 8 hours agofrom:ef9f184652. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winERROROct 31 2024
R-4.5-linuxERROROct 31 2024
R-4.4-winERROROct 31 2024
R-4.4-macERROROct 31 2024
R-4.3-winERROROct 31 2024
R-4.3-macERROROct 31 2024

Exports:addaddEVID2addResVarexpandCovsgenPhiFileinputArchiveDefaultis.NMsimModTabis.NMsimResNMcreateDosesNMexecNMreadSimNMsimNMsim_asisNMsim_defaultNMsim_EBENMsim_knownNMsim_NWPRINMsim_typicalNMsim_VarCovNMsimTestConfoverwritereadParsWidesampleParsSimparsimPopEtasunNMsimModTabunNMsimRes

Dependencies:data.tablefstfstcoreMASSNMdataR.methodsS3R.ooR.utilsRcppxfun

Readme and manuals

Help Manual

Help pageTopics
Create function that adds text elements to vectoradd
Add simulation records to dosing recordsaddEVID2
Add residual variability based on parameter estimatesaddResVar
Create data set where each covariate is univariately variedexpandCovs
Generate a .phi file for further simulation with NonmemgenPhiFile
Default location of input archive fileinputArchiveDefault
Easily and flexibly generate dosing recordsNMcreateDoses
Execute Nonmem and archive input data with model filesNMexec
Read simulation results based on NMsim's track of model runsNMreadSim
Simulate from an estimated Nonmem modelNMsim
Simulation method that uses the provided control stream as isNMsim_asis
Transform an estimated Nonmem model into a simulation control streamNMsim_default
Use emperical Bayes estimates to simulate re-using ETAsNMsim_EBE
Simulate with parameter variability using the NONMEM NWPRI subroutineNMsim_NWPRI
Typical subject simiulation methodNMsim_typical
Simulate with parameter values sampled from a covariance stepNMsim_VarCov
Summarize and test NMsim configurationNMsimTestConf
Add degrees of freedom by OMEGA/SIGMA blockNWPRI_df
Create function that modifies text elements in a vectoroverwrite
Parameter data from csvreadParsWide
Sample model parameters using the `simpar` packagesampleParsSimpar
Generate a population based on a Nonmem modelsimPopEtas
Remove NMsimModTab class and discard NMsimModTab meta datacbind.NMsimModTab dimnames.NMsimModTab is.NMsimModTab merge.NMsimModTab NMsimModTabOperations rbind.NMsimModTab t.NMsimModTab unNMsimModTab
Remove NMsimRes class and discard NMsimRes meta datacbind.NMsimRes dimnames.NMsimRes is.NMsimRes merge.NMsimRes NMsimResOperations rbind.NMsimRes t.NMsimRes unNMsimRes