Package: NMdata 0.1.8.901

Philip Delff

NMdata: Preparation, Checking and Post-Processing Data for PK/PD Modeling

Efficient tools for preparation, checking and post-processing of data in PK/PD (pharmacokinetics/pharmacodynamics) modeling, with focus on use of Nonmem. Attention is paid to ensure consistency, traceability, and Nonmem compatibility of Data. Rigorously checks final Nonmem datasets. Implemented in 'data.table', but easily integrated with 'base' and 'tidyverse'.

Authors:Philip Delff [aut, cre], Eric Anderson [ctb], Matthew Fidler [ctb]

NMdata_0.1.8.901.tar.gz
NMdata_0.1.8.901.zip(r-4.5)NMdata_0.1.8.901.zip(r-4.4)NMdata_0.1.8.901.zip(r-4.3)
NMdata_0.1.8.901.tgz(r-4.4-any)NMdata_0.1.8.901.tgz(r-4.3-any)
NMdata_0.1.8.901.tar.gz(r-4.5-noble)NMdata_0.1.8.901.tar.gz(r-4.4-noble)
NMdata_0.1.8.901.tgz(r-4.4-emscripten)NMdata_0.1.8.901.tgz(r-4.3-emscripten)
NMdata.pdf |NMdata.html
NMdata/json (API)
NEWS

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

Peer review:

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

On CRAN:

nonmempharmacometrics

7.23 score 17 stars 2 packages 80 scripts 956 downloads 51 exports 4 dependencies

Last updated 4 days agofrom:e3fad065a9. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winOKNov 14 2024
R-4.5-linuxOKNov 14 2024
R-4.4-winOKNov 14 2024
R-4.4-macOKNov 14 2024
R-4.3-winOKNov 14 2024
R-4.3-macOKNov 14 2024

Exports:addOmegaCorraddTAPDccclcolLabelscompareColsdimsdt2mateditCharColsegdtfindCovsfindVarsflagsAssignflagsCountfnAppendfnExtensionis.NMdatalistMissingsmat2dtmergeCheckNMcheckColnamesNMcheckDataNMdataConfNMexpandDosesNMextractDataFileNMextractTextNMgenTextNMinfoNMisNumericNMorderColumnsNMreadCovNMreadCsvNMreadExtNMreadParsTextNMreadPhiNMreadSectionNMreadShkNMreadTabNMrelateNMreplaceDataFileNMscanDataNMscanInputNMscanMultipleNMscanTablesNMstampNMwriteDataNMwriteSectionrenameByContentstmpcoluniquePresentunNMdata

Dependencies:data.tablefstfstcoreRcpp

Readme and manuals

Help Manual

Help pageTopics
add Omega correlations to a parameter tableaddOmegaCorr
Add time since previous dose to data, time of previous dose, most recent dose amount, cumulative number of doses, and cumulative dose amount.addTAPD
Create character vectors without quotation markscc
Define a vector with factor levels in the same order as occurring in the vector.cl
Extract column labels as defined in SAScolLabels
Compare elements in lists with aim of combiningcompareCols
Get dimensions of multiple objectsdims
Convert a data.table of parameter estimates to a matrixdt2mat
Replace strings in character character columns of a data seteditCharCols
Expand grid of data.tablesegdt
Extract columns that vary within values of other columnsfindCovs
Extract columns that vary within values of other columns in a data.framefindVars
Assign exclusion flags to a dataset based on specified tableflagsAssign
Create an overview of number of retained and discarded datapoints.flagsCount
paste something before file name extension.fnAppend
Change file name extensionfnExtension
Check if an object is 'NMdata'is.NMdata
List rows with missing values across multiple columnslistMissings
upper or lower triangle or all values of a matrix as long-formatmat2dt
Merge, order, and check resulting rows and columns.mergeCheck
Compare $INPUT in control stream to column names in input dataNMcheckColnames
Check data for Nonmem compatibility or check control stream for data compatibilityNMcheckData
Configure default behavior of NMdata functionsNMdataConf
Basic arithmetic on NMdata objectscbind.NMdata dimnames.NMdata merge.NMdata NMdataOperations rbind.NMdata t.NMdata
Transform repeated dosing events (ADDL/II) to individual dosing eventsNMexpandDoses
Extract the data file used in a control streamNMextractDataFile
Versatile text extractor from Nonmem (input or output) control streamsNMextractText
Generate text for INPUT and possibly DATA sections of NONMEM control streams.NMgenText
Get metadata from an NMdata objectNMinfo
Test if a variable can be interpreted by NonmemNMisNumeric
Standardize column order in Nonmem input dataNMorderColumns
Read in data fileNMreadCov
Read input data formatted for NonmemNMreadCsv
Read information from Nonmem ext filesNMreadExt
Read comments to parameter definitions in Nonmem control streamsNMreadParsText
Read information from Nonmem phi filesNMreadPhi
Extract sections of Nonmem control streamsNMgetSection NMreadSection
Read Shrinkage data reported by NonmemNMreadShk
Read an output table file from NonmemNMreadTab
Relate parameter names and variables based on control stream code sections.NMrelate
Replace data file used in Nonmem control streamNMreplaceDataFile
Automatically find Nonmem input and output tables and organize dataNMscanData
Find and read input data and optionally translate column names according to the $INPUT sectionNMscanInput
Run NMscanData on multiple models and stack resultsNMscanMultiple
Find and read all output data tables in Nonmem runNMscanTables
stamp a dataset or any other objectNMstamp
Write dataset for use in Nonmem (and R)NMwriteData
Replace ($)sections of a Nonmem control streamNMwriteSection
print method for NMdata summariesprint.summary_NMdata
Rename columns matching properties of data contentsrenameByContents
summary method for NMdata objectssummary.NMdata
Extract unique non-missing value from vectoruniquePresent
Remove NMdata class and discard NMdata meta dataunNMdata